Corrige les statuts et les codes internes

This commit is contained in:
Alexandre NOEL 2026-09-08 00:23:06 +02:00
commit a21f3f2bb4
7 changed files with 56 additions and 22 deletions

View file

@ -122,7 +122,7 @@ $estMonths = $birth_estimated_months > 0 ? ($birth_estimated_months % 12) : '';
<div class="col-12 col-md-4">
<label class="form-label"><?= h(t('animal.status')) ?></label>
<select class="form-select" name="status_display" id="status"
<select class="form-select" name="status" id="status"
<?= $isArchivedEdit ? 'disabled' : '' ?>>
<?php foreach ($statuses as $k => $label): ?>
<option value="<?= h($k) ?>" <?= ($status === $k) ? 'selected' : '' ?>>