mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Räume können optional auch bei Terminkollision gebucht werden
This commit is contained in:
@@ -1177,7 +1177,12 @@ function getAllFreieRaeume($terminId)
|
||||
$teilnehmer = $teilnehmer !== false ? $teilnehmer : 0;
|
||||
$pruefungstermin->getAll($pruefungstermin->von, $pruefungstermin->bis, TRUE);
|
||||
|
||||
if($ort->search($datum_von[0], $datum_von[1], $datum_bis[1], null, $teilnehmer, true))
|
||||
if(defined('CIS_PRUEFUNGSANMELDUNG_ERLAUBE_TERMINKOLLISION') && CIS_PRUEFUNGSANMELDUNG_ERLAUBE_TERMINKOLLISION)
|
||||
$ortSuccess = $ort->getOrte(true, null, true);
|
||||
else
|
||||
$ortSuccess = $ort->search($datum_von[0], $datum_von[1], $datum_bis[1], null, $teilnehmer, true);
|
||||
|
||||
if($ortSuccess)
|
||||
{
|
||||
foreach($pruefungstermin->result as $termin)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user