AKZA#36416 Kan catering dat buiten de meetingstijd valt ook geblokt worden?

svn path=/Website/trunk/; revision=30660
This commit is contained in:
Erik Groener
2016-09-09 06:53:29 +00:00
parent ba5f626d9c
commit 96b4d4f31f

View File

@@ -172,6 +172,7 @@ function selectRoom(radio)
// Als dat niet zo is geef dan een melding en return false
function checkArtikelen(starttime_room, endtime_room)
{
var show_bound = true;
var allGood = true;
$(".tab_cat_sched").each(function() // doorloop alle catering disciplines
{
@@ -211,9 +212,10 @@ function checkArtikelen(starttime_room, endtime_room)
jsDate.setHours(hh);
jsDate.setMinutes(mm);
if (jsDate < res_van || jsDate > res_tot)
if (show_bound && (jsDate < res_van || jsDate > res_tot))
{
alert(L("lcl_res_facility_bound"));
show_bound = false;
}
if (jsDate < thisCatExpire && !backo && !fronto)