AKZA#36416 Kan catering dat buiten de meetingstijd valt ook geblokt worden?
svn path=/Website/trunk/; revision=30660
This commit is contained in:
@@ -172,6 +172,7 @@ function selectRoom(radio)
|
|||||||
// Als dat niet zo is geef dan een melding en return false
|
// Als dat niet zo is geef dan een melding en return false
|
||||||
function checkArtikelen(starttime_room, endtime_room)
|
function checkArtikelen(starttime_room, endtime_room)
|
||||||
{
|
{
|
||||||
|
var show_bound = true;
|
||||||
var allGood = true;
|
var allGood = true;
|
||||||
$(".tab_cat_sched").each(function() // doorloop alle catering disciplines
|
$(".tab_cat_sched").each(function() // doorloop alle catering disciplines
|
||||||
{
|
{
|
||||||
@@ -211,9 +212,10 @@ function checkArtikelen(starttime_room, endtime_room)
|
|||||||
jsDate.setHours(hh);
|
jsDate.setHours(hh);
|
||||||
jsDate.setMinutes(mm);
|
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"));
|
alert(L("lcl_res_facility_bound"));
|
||||||
|
show_bound = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (jsDate < thisCatExpire && !backo && !fronto)
|
if (jsDate < thisCatExpire && !backo && !fronto)
|
||||||
|
|||||||
Reference in New Issue
Block a user