add receipt no for online order

This commit is contained in:
phyusin
2018-09-17 11:39:44 +06:30
parent 6e09482ef0
commit 953e3e83f1
5 changed files with 9 additions and 5 deletions

View File

@@ -25,6 +25,7 @@
<tr>
<th><%= t("views.right_panel.detail.receipt_date") %></th>
<th> <%= t("views.right_panel.detail.receipt_no") %></th>
<th><%= t :reference_number %></th>
<th><%= t :customer %></th>
<!-- <th><%= t("views.right_panel.detail.type") %></th> -->
@@ -115,6 +116,7 @@
%>
<tr>
<td><%= order_reservation.receipt_date.utc.getlocal.strftime("%Y-%m-%d") %></td>
<td><%= order_reservation.receipt_no %></td>
<td><%= order_reservation.transaction_ref %></td>
<td><%= order_reservation.name %></td>
<!-- <td><%= order_reservation.order_reservation_type %></td> -->
@@ -136,7 +138,7 @@
end %>
<tr>
<td colspan="6"><b>Total</b></td>
<td colspan="7"><b>Total</b></td>
<td><b><%= total_amount rescue '0.0'%></b></td>
<td><b><%= total_discount_amount rescue '0.0'%></b></td>
<td><b><%= total_delivery_fee rescue '0.0'%></b></td>