Sha256: 643e78773d30a4dedf3279b51171bf4248f40daff5b871fb41b1d321f81ae551

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 KB

Contents

<!-- page content -->
<div class="right_col" role="main">
  <div class="">
    <div class="page-title">
      <div class="title_left">
        <h3>Order #<%=@order.id%></h3>
      </div>
    </div>
    <div class="clearfix"></div>

    <div class="row">

      <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
          <div class="x_title">
          <table class="table">
        <tbody>
        <% @order_products.each do |order_product| %>
        <tr>
          <td><%= image_tag(order_product.product.images[0].thumb.url) %></td>
          <td><%= order_product.product.title %></td>
          <td><%= humanized_money_with_symbol order_product.price %> × <%= order_product.quantity %></td>
          <td><%= humanized_money_with_symbol order_product.price * order_product.quantity %></td>
        </tr>
        <% end %>
        </tbody>
      </table>
      <table class="table--nested table--no-border type--right">
        <tbody>
        <tr>
          <td class="type--subdued">Subtotal</td>
          <td><%= humanized_money_with_symbol @order.order_subtotal %></td>
        </tr>
        <tr>
          <td class="type--subdued">
            <div>Shipping</div>
            <div><%= @order.shipping_method %></div>
            <div>1.06 lb</div>
          </td>
          <td>
          <div>
              $3.99
          </div>
          </td>
        </tr>
        <tr>
          <td class="type--subdued">Tax</td>
          <td>$0.00</td>
        </tr>
        <tr>
          <td><strong>Total</strong></td>
          <td><strong>$17.99</strong></td>
        </tr>
        </tbody>
      </table>

            <div class="clearfix"></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- /page content -->





Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 app/views/rails_marketplace/seller/order_details.html.erb
rails_marketplace-0.0.1 app/views/rails_marketplace/seller/order_details.html.erb