update order and reserve and receipt rake
This commit is contained in:
@@ -62,7 +62,7 @@ $(function() {
|
||||
// console.log(data);
|
||||
var delivery = data["delivery"];
|
||||
var items = data["order_items"];
|
||||
|
||||
console.log(data)
|
||||
var item_list = $('.summary-items');
|
||||
item_list.empty();
|
||||
|
||||
@@ -113,7 +113,12 @@ $(function() {
|
||||
$("#order_remark").text(data.reservation_remark);
|
||||
}
|
||||
$("#sr_number").text("No."+sr_no);
|
||||
$("#contact_info").text();
|
||||
if (data["receipt_no"]) {
|
||||
$("#contact_info").text(data["receipt_no"]);
|
||||
}else{
|
||||
$("#contact_info").text(data["order_reservation_id"]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user