fix: corriger le suivi médical et les styles publics
This commit is contained in:
parent
f20d7cc965
commit
a55d27935f
15 changed files with 206 additions and 24 deletions
|
|
@ -198,7 +198,7 @@
|
|||
<div class="card mt-3">
|
||||
<div class="card-header d-flex align-items-center justify-content-between">
|
||||
<div>
|
||||
<h3 class="card-title m-0"><?= h(t('animals.dewormer')) ?></h3>
|
||||
<h3 class="card-title m-0">🪱 <?= h(t('animals.dewormer')) ?></h3>
|
||||
<div class="text-muted small"><?= h(t('animal.deworming_schedule')) ?></div>
|
||||
</div><button class="btn btn-sm btn-outline-primary" data-bs-toggle="modal"
|
||||
data-bs-target="#modalDeworming"><?= h(t('common.add')) ?></button>
|
||||
|
|
@ -400,7 +400,19 @@ ORDER BY created_at ASC
|
|||
<td><?= h($t['start_date']) ?></td>
|
||||
<td><?= $t['end_date'] ? h($t['end_date']) : '—' ?></td>
|
||||
<td><?= $t['notes'] ? h($t['notes']) : '—' ?></td>
|
||||
|
||||
<td class="text-end"><button type="button" class="btn btn-sm btn-ghost-primary edit-treatment"
|
||||
data-bs-toggle="modal" data-bs-target="#modalTreatment"
|
||||
data-entry-id="<?= (int)$t['id'] ?>"
|
||||
data-medication-id="<?= (int)$t['medication_id'] ?>"
|
||||
data-route="<?= h($t['route'] ?? '') ?>" data-dose-text="<?= h($t['dose_text']) ?>"
|
||||
data-start-date="<?= h($t['start_date']) ?>" data-end-date="<?= h($t['end_date'] ?? '') ?>"
|
||||
data-clinic-contact-id="<?= (int)($t['clinic_contact_id'] ?? 0) ?>"
|
||||
data-vet-contact-id="<?= (int)($t['vet_contact_id'] ?? 0) ?>"
|
||||
data-give-morning="<?= (int)$t['give_morning'] ?>"
|
||||
data-give-evening="<?= (int)$t['give_evening'] ?>"
|
||||
data-give-as-needed="<?= (int)$t['give_as_needed'] ?>"
|
||||
data-notes="<?= h($t['notes'] ?? '') ?>"
|
||||
aria-label="<?= h(t('common.edit')) ?>">✏️</button></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Reference in a new issue