Intorduced the simple_format method to the shipping method description

This commit is contained in:
Manuel Gonçalves
2024-05-10 15:49:33 +01:00
parent 0ddf8309c6
commit f7561b428e

View File

@@ -95,7 +95,7 @@
%div.checkout-input{"data-shippingmethod-target": "shippingMethodDescription", "data-shippingmethodid": shipping_method.id , style: "display: #{ship_method_is_selected ? 'block' : 'none'}" }
#distributor_address.panel
- if shipping_method.description.present?
%span #{shipping_method.description}
%span #{simple_format(shipping_method.description)}
%br/
%br/
- if @order.order_cycle.pickup_time_for(@order.distributor)