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

@ -66,6 +66,7 @@ foreach ($rooms as $room) {
<td><select class="form-select care-room-select" name="room[<?= (int)$animal['id'] ?>]"
data-animal="<?= (int)$animal['id'] ?>"><?php foreach ($rooms as $room): ?><option
value="<?= h($room['code']) ?>"
<?= !ShelterRoomService::accepts($room, $animal) ? 'disabled' : '' ?>
<?= $currentRoom === $room['code'] ? 'selected' : '' ?>><?= h($room['name']) ?>
</option><?php endforeach; ?></select></td>
<td><select class="form-select care-box-select" name="box[<?= (int)$animal['id'] ?>]"