check order item
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user