FSN#37458 Ook 24:00h kunnen kiezen bij eindtijd ruimte

svn path=/Website/trunk/; revision=30651
This commit is contained in:
Jos Groot Lipman
2016-09-08 13:45:49 +00:00
parent 31227ce7d9
commit 1809fa364f
2 changed files with 2 additions and 1 deletions

View File

@@ -194,6 +194,7 @@ if (!room_exists)
readonly: !this_alg.writeman readonly: !this_alg.writeman
} }
); );
times.push(" SELECT 24, '24:00' FROM DUAL");
FCLTselector( "room_einduur", FCLTselector( "room_einduur",
times.join(" UNION ALL "), times.join(" UNION ALL "),
{ label: L("lcl_estate_gebouw_einduur"), { label: L("lcl_estate_gebouw_einduur"),

View File

@@ -135,7 +135,7 @@ if (!room_data.cadcontours.length)
ROFIELDTR("fld", L("lcl_estate_ruimte_man_opmerk"), room_data.remark, {suppressEmpty:true}); ROFIELDTR("fld", L("lcl_estate_ruimte_man_opmerk"), room_data.remark, {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_beginuur"), toTimeString(room_data.openfrom), {suppressEmpty:true}); ROFIELDTR("fld", L("lcl_estate_gebouw_beginuur"), toTimeString(room_data.openfrom), {suppressEmpty:true});
ROFIELDTR("fld", L("lcl_estate_gebouw_einduur"), toTimeString(room_data.opento), {suppressEmpty:true}); ROFIELDTR("fld", L("lcl_estate_gebouw_einduur"), room_data.opento==24?"24:00":toTimeString(room_data.opento), {suppressEmpty:true});
switch (room_data.workdays) switch (room_data.workdays)
{ {