% if current_products.empty? -%>
<%= t 'bodega.product' %> | <%= t 'bodega.price' %> | <%= t 'bodega.total' %> | ||
---|---|---|---|---|
<%= number_field_tag 'products[][quantity]', order_product.quantity, class: 'quantity', max: order_product.product.max_for_sale, min: 1 %> | <%= order_product.name %> <%= hidden_field_tag 'products[][type]', order_product.product_type %> <%= hidden_field_tag 'products[][id]', order_product.product_id %> | <%= humanized_money_with_symbol order_product.price %> | <%= humanized_money_with_symbol order_product.subtotal %> | <%= link_to t('bodega.remove'), bodega.remove_path(product_id: order_product.identifier) %> |
<%= humanized_money_with_symbol current_order.subtotal %> |