fix: fiabiliser les fiches animales et vaccinations
This commit is contained in:
parent
f45cfc40f2
commit
361bef8561
20 changed files with 157 additions and 65 deletions
|
|
@ -370,12 +370,15 @@ $estMonths = $birth_estimated_months > 0 ? ($birth_estimated_months % 12) : '';
|
|||
<option value="unknown"
|
||||
<?= (($animal['identification_registration_status'] ?? 'unknown') === 'unknown') ? 'selected' : '' ?>>
|
||||
<?= h(t('common.unknown')) ?></option>
|
||||
<option value="pending"
|
||||
<?= (($animal['identification_registration_status'] ?? 'unknown') === 'pending') ? 'selected' : '' ?>>
|
||||
<?= h(t('animal.form.pending')) ?></option>
|
||||
<option value="registered"
|
||||
<?= (($animal['identification_registration_status'] ?? 'unknown') === 'registered') ? 'selected' : '' ?>>
|
||||
<?= h(t('animal.form.registered')) ?></option>
|
||||
<option value="change_pending"
|
||||
<?= in_array(($animal['identification_registration_status'] ?? 'unknown'), ['pending', 'change_pending'], true) ? 'selected' : '' ?>>
|
||||
<?= h(t('animal.form.change_pending')) ?></option>
|
||||
<option value="owner_changed"
|
||||
<?= (($animal['identification_registration_status'] ?? 'unknown') === 'owner_changed') ? 'selected' : '' ?>>
|
||||
<?= h(t('animal.form.owner_changed')) ?></option>
|
||||
</select></div>
|
||||
|
||||
<div class="col-12">
|
||||
|
|
|
|||
Loading…
Reference in a new issue