This commit is contained in:
Myat Zin Wai Maw
2019-12-04 14:18:37 +06:30
parent 0b98f3a149
commit 6c1b6fe79f
3 changed files with 22 additions and 13 deletions

View File

@@ -427,9 +427,6 @@
<% if (@cashier_type=="quick_service" || @cashier_type=="food_court") && @sale_payment.nil? %>
<hr>
<button type="button" id="survey" class="btn btn-block bg-blue waves-effect"><%= t("views.right_panel.detail.survey") %></button>
<button type="button" id="customer" class="btn btn-block bg-blue waves-effect" >Customer</button>
<% if current_login_employee.role == "cashier" %>
<a class="btn btn-block bg-blue waves-effect access_modal" data-toggle="modal" data-type="edit">Edit</a>
<% else %>
@@ -1388,6 +1385,7 @@ $(document).ready(function(){
url: "/foodcourt/payment/"+cashier_type+"/foc",
data: params,
success:function(result){
$('#focModal').modal('hide');
customer_display_view(null,"reload");
if (cash >= 0) {
swal({