change future checkin time flow

This commit is contained in:
phyusin
2018-11-28 10:54:37 +06:30
parent f5ba08ae25
commit b750547066
6 changed files with 160 additions and 124 deletions

View File

@@ -1078,7 +1078,19 @@
// 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();