cirandas.net

ref: master

plugins/shopping_cart/views/shopping_cart_plugin/_items.html.erb




  <% order.items.each do |item| %>
    
  <% end %>

  
> <%= _('Item') %> > <%= if by_mail then " #{_('Qtty')} ".html_safe else _('Qtty') end %> > <%= _('Unit price') + " (#{@environment.currency_unit})" %> > <%= _('Total') + " (#{@environment.currency_unit})" %>
> <%= item.name %> > <%= "%03d" % item.quantity_consumer_ordered %> > <%= get_price item.product, @environment, 1, unit: '' %> > <%= get_price item.product, @environment, item.quantity_consumer_ordered, unit: '' %>
<%= order.supplier_delivery.name if order.supplier_delivery %> > <%= float_to_currency_cart order.supplier_delivery.cost(order.total_price), @environment, unit: '' if order.supplier_delivery %>
> <%= _('Total:') %> > <%= float_to_currency_cart order.total, @environment %>