accounts and discount updated
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user