update customer detail

This commit is contained in:
Aung Myo
2017-06-13 14:12:35 +06:30
parent 562db87144
commit 03b839fc07
3 changed files with 48 additions and 13 deletions

View File

@@ -41,7 +41,7 @@
</tbody>
</table>
<br>
<h3>Order Details</h3>
<h3>Order Items</h3>
<table class="table table-striped">
<thead>
@@ -70,6 +70,35 @@
<% end %>
</tbody>
</table>
<h3>Sale Items</h3>
<table class="table table-striped">
<thead>
<tr>
<th>Sale ID </th>
<th>Menu Item</th>
<th>QTY</th>
<th>Unit Price </th>
<th>Tax Price</th>
<th>Created At</th>
</tr>
</thead>
<tbody>
<% @sale_items.each do |sale_item| %>
<tr>
<td><%= sale_item.sale_id %></td>
<td><%= sale_item.product_name %></td>
<td><%= sale_item.qty %></td>
<td><%= sale_item.unit_price %></td>
<td><%= sale_item.taxable_price %></td>
<td><%= sale_item.created_at %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>