accounts and discount updated

This commit is contained in:
Yan
2017-06-23 17:05:08 +06:30
parent 55c8ab80da
commit 3a0e26b2ea
14 changed files with 114 additions and 59 deletions

View File

@@ -347,9 +347,16 @@ $(document).ready(function(){
type: "POST",
url: ajax_url,
data: params,
success:function(result){
success:function(result){
alert("Successfully Discount!");
window.history.back();
if(result.table_type == "Table"){
window.location.href = "/origami/table/" + result.table_id
}
else {
window.location.href = "/origami/room/" + result.table_id
}
// window.history.back();
}
});
});