check order item

This commit is contained in:
phyusin
2018-02-27 11:33:51 +06:30
parent 28a8b863aa
commit fc3cd1e72d
2 changed files with 15 additions and 13 deletions

View File

@@ -214,7 +214,7 @@
<td><span id="receipt_no"><%= sale_data.receipt_no %></span></td>
<td><span id="grand_total"><%= sale_data.grand_total %></span></td>
<% if !@current_user.nil? && @current_user.role == 'cashier' %>
<% if !@current_user.nil? && @current_user.role != 'waiter' %>
<td>
<button type="button" class="btn btn-block waves-effect btn-primary btn_pay" id=<%= sale_data.sale_id %> >Pay</button>
</td>