app order

This commit is contained in:
Myat Zin Wai Maw
2019-12-02 17:48:36 +06:30
parent cac6994ccb
commit 600d3973cd
4 changed files with 14 additions and 12 deletions

View File

@@ -1060,7 +1060,8 @@ $(function() {
window.location.href = '/origami/'+type+'/pending_order/' + $('#sale_id').text();
}else{
if(result.current_user_role == 'foodcourt_cashier'){
window.location.href = "/foodcourt/sale/"+result.data["sale_id"]+"/"+type+"/payment"; }
window.location.href = "/foodcourt/sale/"+result.data["sale_id"]+"/"+type+"/payment";
}
else{
window.location.href = "/origami/sale/"+result.data["sale_id"]+"/"+type+"/payment";
}