change future checkin time flow
This commit is contained in:
@@ -1146,7 +1146,19 @@ $('#request_bills').click(function() {
|
||||
// data: 'order_id='+ order_id,
|
||||
success: function (result) {
|
||||
if (!result.status) {
|
||||
swal("Information!", result.error_message);
|
||||
swal({
|
||||
title: 'Oops',
|
||||
text: result.error_message,
|
||||
type: 'error',
|
||||
html: true,
|
||||
closeOnConfirm: false,
|
||||
closeOnCancel: false,
|
||||
allowOutsideClick: false
|
||||
}, function (isConfirm) {
|
||||
if(isConfirm){
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
}
|
||||
else {
|
||||
location.reload();
|
||||
|
||||
Reference in New Issue
Block a user