This commit is contained in:
KONE SOREL 2025-12-16 09:11:48 +00:00
parent e63817390c
commit ba28b4e24b

View File

@ -221,8 +221,7 @@
<?= _("Motif RDV") ?>
<?php if($codeEtatRdv == "0"): ?><span class="text-danger">*</span><?php endif; ?>
</label>
<textarea id="motifRdv" name="motifRdv" class="form-control" rows="4"
<?= ($codeEtatRdv != "0") ? 'disabled' : 'required' ?>><?= $motifRdv ?></textarea>
<textarea id="motifRdv" name="motifRdv" class="form-control" rows="4" <?= ($codeEtatRdv != "0") ? 'disabled' : 'required' ?>><?= $motifRdv ?></textarea>
</div>
</div>
</div>