Sha256: 2a6c8c2aff923efaadc54c9cb4b66199e48e340a6fd3babd23b4efc8d710a08f
Contents?: true
Size: 926 Bytes
Versions: 6
Compression:
Stored size: 926 Bytes
Contents
<table class="index"> <tbody id='line-items'> <tr> <th><%= t('item_description') %></th> <th class="supplier"><%= t('supplier_name') %></th> <th class="price"><%= t('price') %></th> <th class="qty"><%= t('qty') %></th> <th class="total_display"><span><%= t('total') %></span></th> </tr> <% @order.line_items.each do |item| %> <tr > <td width="300"><%=item.variant.product.name-%> <%= "(" + variant_options(item.variant) + ")" unless item.variant .option_values.empty? %></td> <td valign="top"><%=item.variant.product.supplier.name if item.variant.product.supplier -%></td> <td valign="top"><%= number_to_currency item.price -%></td> <td valign="top"><%=item.quantity-%></td> <td valign="top" class="total_display"><span><%= number_to_currency (item.price * item.quantity)-%></span></td> </tr> <% end %> </tbody> </table>
Version data entries
6 entries across 6 versions & 1 rubygems