check is_available for menu sync

This commit is contained in:
phyusin
2018-12-24 16:58:53 +06:30
parent cfad5bc280
commit f7c908b870
3 changed files with 134 additions and 130 deletions

View File

@@ -32,7 +32,7 @@ $(function(){
/*new customer UI func:*/
$(".reservation_type").on("click", function(){
if($(this).val() == "Dine-in"){
if(parseInt($(this).val()) == 0){
$(".dining_type").show();
$(".room_type").hide();
}else{