Sha256: 135fcf7471c53b5f9fd98df373d49a3cfe276c3dee815bb12efb8ab3e3b4306e

Contents?: true

Size: 1.03 KB

Versions: 14

Compression:

Stored size: 1.03 KB

Contents

<div class='row'>
  <div class='span10 well'>
    <table class='table table-striped'>
      <thead>
        <tr>
          <th colspan="2" class="start">Description</th>
          <th>Price</th>
          <th>Quantity</th>
          <th>Total</th>
        </tr>
      </thead>
      <tbody>
        <% @order.line_items.each do |line_item| %>
          <%= render 'line_item', line_item: line_item %>
        <% end %>

        <% if @order.shipping_method %>
          <tr>
            <td>&nbsp;</td>
            <td>
              Shippping
            </td>
            <td> <%= number_to_currency(@order.shipping_method.shipping_cost) %> </td>
            <td>&nbsp;</td>
            <td><%= number_to_currency(@order.shipping_method.shipping_cost) %> </td>
          </tr>
        <% end %>

        <tr>
          <td>&nbsp;</td>
          <td>Total</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td> <strong> <%= number_to_currency(@order.total_amount) %> </strong> </td>
        </tr>
      </tbody>
    </table>
  </div>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
nimbleshop_core-0.0.7 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.5 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.4.beta1 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.4 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.3 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.2 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.2.beta1 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.1 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.1.rc6 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.1.rc5 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.1.rc4 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.1.rc3 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.1.rc2 app/views/admin/orders/_line_items.html.erb
nimbleshop_core-0.0.1.rc1 app/views/admin/orders/_line_items.html.erb