Merge branch 'adminbsb_ui_changes' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
phyusin
2018-06-11 18:26:58 +06:30

View File

@@ -242,12 +242,24 @@ $('#junction_pay').on('click',function(){
};
resJunctionPay = function(memberno,transactionNo,finalBillingAmt){
if(memberno != ''){ is_rebate = true; }
if(memberno != ''){ is_rebate = true; }
};
resError = function(err_message){
$("#loading_wrapper").hide();
swal ( "Oops" , err_message , "error" );
resError = function(err_message){
if(err_message != "ERROR: Verification cancelled"){
$("#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();
// $.ajax({type: "POST",