check order reservation

This commit is contained in:
phyusin
2018-05-07 13:32:58 +06:30
parent be9218dd79
commit 391cc19117
14 changed files with 119 additions and 146 deletions

View File

@@ -294,6 +294,8 @@ function showNewOrder(order_reservation){
var date = new Date(order_reservation.requested_time);
var time = timeFormat(date);
var requested_date = date.getFullYear() + '-' + (date.getMonth() > 10? date.getMonth() : '0' + (date.getMonth() + 1)) +'-'+ (date.getDate() > 10? date.getDate() : '0' + date.getDate()) +' '+time;
var audio = new Audio('/beep-07.wav'); // define your audio
audio.play();
swal({
html: true,
title: 'Information',