update waiter view add order
This commit is contained in:
@@ -734,15 +734,11 @@ console.log("fffffffffffff")
|
||||
url: ajax_url,
|
||||
data: "remark="+ remark + "&sale_id=" + sale_id,
|
||||
success: function () {
|
||||
<<<<<<< HEAD
|
||||
if (cashier_type=="cashier") {
|
||||
window.location.href = '/origami';
|
||||
}else{
|
||||
window.location.href = '/origami/quick_service';
|
||||
}
|
||||
=======
|
||||
window.location.href = '/origami/';
|
||||
>>>>>>> 77a66d726bc48a7c5d8be7c12728c1d0a9a5621e
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -782,29 +778,6 @@ console.log("fffffffffffff")
|
||||
var params = { 'cash':cash,'sale_id':sale_id,'sub_total':sub_total,'remark':remark };
|
||||
|
||||
if ($(this).attr('active')=== "true") {
|
||||
<<<<<<< HEAD
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "<%= origami_payment_foc_path %>",
|
||||
data: params,
|
||||
success:function(result){
|
||||
|
||||
//$( "#loading_wrapper" ).hide();
|
||||
|
||||
if (cash >= 0) {
|
||||
swal({
|
||||
title: "Information!",
|
||||
text: 'Thank You !',
|
||||
}, function () {
|
||||
if (cashier_type=="cashier") {
|
||||
window.location.href = '/origami';
|
||||
}else{
|
||||
window.location.href = '/origami/quick_service';
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
=======
|
||||
swal({
|
||||
title: "Alert",
|
||||
text: "Are you sure want to FOC This Receipt?",
|
||||
@@ -830,7 +803,6 @@ console.log("fffffffffffff")
|
||||
}
|
||||
}
|
||||
});
|
||||
>>>>>>> 77a66d726bc48a7c5d8be7c12728c1d0a9a5621e
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user