update close receipt for member discount

This commit is contained in:
Aung Myo
2017-08-11 15:39:08 +06:30
parent 2c7a641d47
commit 79ca1428b9
7 changed files with 74 additions and 24 deletions

View File

@@ -108,7 +108,7 @@
<button id="cash_in" type="button" class="btn btn-block btn-primary"> Cash In </button>
<button id="cash_out" type="button" class="btn btn-block btn-primary"> Cash Out </button>
<!-- Temporary Disabled -->
<%if current_login_employee.role == "cashier" %>
<%if current_login_employee.role == "cashier" && @shop.quick_sale_summary == true%>
<button id="sale_summary" type="button" class="btn btn-block btn-primary">Sale Sammary</button>
<%end%>
<button id="close_cashier" type="button" class="btn btn-block btn-primary"> Close Cashier </button>