transactions for order reservation and api for tax profile

This commit is contained in:
phyusin
2018-05-28 18:08:30 +06:30
parent 0ff21a88cd
commit bf9bb1c58a
14 changed files with 685 additions and 45 deletions

View File

@@ -15,7 +15,9 @@ App.order_reservation = App.cable.subscriptions.create('OrderReservationChannel'
var active_class = "";
if(key==0){
active_class = "tr-active";
showNewOrder(order[key],shop_code);
if (typeof showNewOrder !== 'undefined' && $.isFunction(showNewOrder)) {
showNewOrder(order[key],shop_code);
}
}
var rowCount = key+1;
var date = new Date(value.created_at);
@@ -49,7 +51,9 @@ App.order_reservation = App.cable.subscriptions.create('OrderReservationChannel'
});
}
customTableClick();
if (typeof customTableClick !== 'undefined' && $.isFunction(customTableClick)) {
customTableClick();
}
}
}
});