some changes for order reservation
This commit is contained in:
@@ -176,4 +176,25 @@ function audioPlayBackground(shop_code,audio){
|
||||
audio.play();
|
||||
// },10000);
|
||||
}
|
||||
/* end order reservation function */
|
||||
/* end order reservation function */
|
||||
|
||||
/* online order count*/
|
||||
function getOnlineOrderCount(){
|
||||
var count = 0;
|
||||
//Start Ajax
|
||||
$.ajax({
|
||||
async: false,
|
||||
type: "GET",
|
||||
url: "/origami/get_order_info",
|
||||
dataType: "json",
|
||||
success: function(data){
|
||||
if(parseInt(data) > 0){
|
||||
count = parseInt(data);
|
||||
}
|
||||
}
|
||||
});
|
||||
//end Ajax
|
||||
// alert(count);
|
||||
return count;
|
||||
}
|
||||
/* online order count*/
|
||||
Reference in New Issue
Block a user