Rend les salles et tournées configurables

Refs #10 #21
This commit is contained in:
Alexandre NOEL 2026-09-08 00:33:25 +02:00
commit e7176b6371
17 changed files with 189 additions and 25 deletions

View file

@ -140,6 +140,7 @@ $estMonths = $birth_estimated_months > 0 ? ($birth_estimated_months % 12) : '';
<?php foreach (($shelterRooms ?? []) as $room): ?><option
value="<?= h($room['code']) ?>"
data-status="<?= h($room['status_code']) ?>"
<?= $isEdit && !ShelterRoomService::accepts($room, $animal) ? 'disabled' : '' ?>
<?= (($animal['refuge_room'] ?? '') === $room['code']) ? 'selected' : '' ?>>
<?= h($room['name']) ?></option><?php endforeach; ?>
</select>