add alert for new,send_to_kitchen and ready_to_delivery

This commit is contained in:
phyusin
2018-05-03 17:22:59 +06:30
parent 0748478bb4
commit 9ff3018323
15 changed files with 445 additions and 235 deletions

View File

@@ -166,6 +166,10 @@
</div>
<script>
$(document).ready(function(){
/* check webview loaded*/
var webview = <%= @webview %>;
showHideNavbar(webview);
$(".tables").on('click', function(){
$('.tables').removeClass('selected-item');
$(this).addClass('selected-item');

View File

@@ -284,6 +284,10 @@ end
</div>
<script>
$(document).ready(function(){
/* check webview loaded*/
var webview = <%= @webview %>;
showHideNavbar(webview);
$(".tables").on('click', function(){
$('.tables').removeClass('selected-item');
$(this).addClass('selected-item');

View File

@@ -409,11 +409,6 @@
</div>
</div>
<script type="text/javascript">
$(function(){
$("#discount").hide();
$(".expected_time").hide();
$('.first-1').click();
});
</script>
<div id="notify_new_order"></div>
<div id="notify_order_send_to_kitchen"></div>
<div id="notify_order_ready_to_delivery"></div>