Merge branch 'adminbsb_ui_changes' of bitbucket.org:code2lab/sxrestaurant
This commit is contained in:
@@ -242,12 +242,24 @@ $('#junction_pay').on('click',function(){
|
|||||||
};
|
};
|
||||||
|
|
||||||
resJunctionPay = function(memberno,transactionNo,finalBillingAmt){
|
resJunctionPay = function(memberno,transactionNo,finalBillingAmt){
|
||||||
if(memberno != ''){ is_rebate = true; }
|
if(memberno != ''){ is_rebate = true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
resError = function(err_message){
|
resError = function(err_message){
|
||||||
$("#loading_wrapper").hide();
|
if(err_message != "ERROR: Verification cancelled"){
|
||||||
swal ( "Oops" , err_message , "error" );
|
$("#loading_wrapper").hide();
|
||||||
|
swal({
|
||||||
|
title: "Oops!",
|
||||||
|
text: err_message,
|
||||||
|
type: "error",
|
||||||
|
html: true,
|
||||||
|
closeOnConfirm: false,
|
||||||
|
closeOnCancel: false,
|
||||||
|
allowOutsideClick: false
|
||||||
|
}, function () {
|
||||||
|
window.location.href = '/origami/sale/'+ sale_id +"/"+cashier_type+"/payment/others_payment";
|
||||||
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
// $("#loading_wrapper").hide();
|
// $("#loading_wrapper").hide();
|
||||||
// $.ajax({type: "POST",
|
// $.ajax({type: "POST",
|
||||||
|
|||||||
Reference in New Issue
Block a user