Added: Zeitverfuegbarkeit-Notizfeld ist nun verpflichtend in Assistenzsicht

This commit is contained in:
Cris
2022-03-24 11:04:03 +01:00
parent 37f6a0caaa
commit 4decfaa848
2 changed files with 6 additions and 1 deletions
@@ -227,6 +227,11 @@ class AdminZeitverfuegbarkeit extends Auth_Controller
{
return (error('LektorIn fehlt'));
}
if (isEmptyString($post['bezeichnung']))
{
return (error('Notiz fehlt'));
}
if (isEmptyString($post['vondatum']))
{
@@ -86,7 +86,7 @@ $this->load->view(
<div class="form-group">
<label for="bezeichnung" class="col-sm-1 control-label">Notiz: </label>
<div class="col-sm-3">
<textarea type="" id="bezeichnung" name="bezeichnung" value=""></textarea>
<textarea type="" id="bezeichnung" name="bezeichnung" value="" required></textarea>
</div>
</div>