'image/jpeg', 'png' => 'image/png', 'webp' => 'image/webp', 'gif' => 'image/gif', default => 'application/octet-stream' }; return "data:$mime;base64," . base64_encode($data); } ?>
| = h(t('pdf.internal_code')) ?> | = h($animal['code'] ?? '') ?> | = h(t('animal.species')) ?> | = h(match (strtolower((string)($animal['species'] ?? ''))) { 'cat', 'chat' => t('species.cat'), 'dog', 'chien' => t('species.dog'), 'nac' => t('species.nac'), default => (string)($animal['species'] ?? '') }) ?> |
|---|---|---|---|
| = h(t('animal.sex')) ?> | = h($animal['sex'] ?? '') ?> | = h(t('animal.form.birth_date')) ?> | = h($animal['birth_date'] ?? '') ?> |
| = h(t('animal.status')) ?> | = h($animal['status'] ?? '') ?> | = h(t('common.notes')) ?> | = h($animal['notes'] ?? '') ?> |
| = h(t('common.date')) ?> | = h(t('animal.form.type')) ?> | = h(t('pdf.content')) ?> | = h(t('pdf.clinic_vet')) ?> |
|---|---|---|---|
| = h(substr((string)$n['noted_at'], 0, 10)) ?> | = h($n['kind'] ?? '') ?> |
= h(t('pdf.reason')) ?>:
= h($n['reason']) ?> = h(t('pdf.weight')) ?>: = h($n['weight_kg']) ?> kg = h(t('pdf.temperature')) ?>: = h($n['temperature_c']) ?> °C = h(t('pdf.symptoms')) ?>: = nl2br(h($n['symptoms'])) ?> = h(t('pdf.exam')) ?>: = nl2br(h($n['exam'])) ?> = h(t('pdf.diagnosis')) ?>: = nl2br(h($n['diagnosis'])) ?> = h(t('pdf.plan')) ?>: = nl2br(h($n['plan'])) ?> |
= h($n['clinic_name']) ?> = h($n['vet_name']) ?> |
| = h(t('pdf.state')) ?> | = h(t('pdf.medication')) ?> | = h(t('pdf.start')) ?> | = h(t('pdf.end')) ?> | = h(t('pdf.clinic_vet')) ?> | = h(t('common.notes')) ?> |
|---|---|---|---|---|---|
| = h(((int)$t['ongoing'] === 1) ? t('pdf.ongoing') : t('pdf.finished')) ?> | = h($t['medication_name'] ?? '') ?> = !empty($t['molecule']) ? '(' . h($t['molecule']) . ')' : '' ?> | = h($t['start_date'] ?? '') ?> | = h($t['end_date'] ?? '') ?> |
= h($t['clinic_name']) ?> = h($t['vet_name']) ?> |
= h(t('pdf.route')) ?>:
= h($t['route']) ?> = h(t('pdf.dosage')) ?>: = h($t['dose_text']) ?> = !empty($t['notes']) ? nl2br(h($t['notes'])) : '' ?> |
| = h(t('pdf.vaccine')) ?> | = h(t('pdf.done_on')) ?> | = h(t('pdf.booster')) ?> | = h(t('pdf.clinic_vet')) ?> | = h(t('common.notes')) ?> |
|---|---|---|---|---|
| = h($v['vaccine_name'] ?? '') ?> | = h($v['done_date'] ?? '') ?> | = h($v['due_date'] ?? '') ?> |
= h($v['clinic_name']) ?> = h($v['vet_name']) ?> |
= h(t('pdf.lot')) ?>: = h($v['lot']) ?> = !empty($v['notes']) ? nl2br(h($v['notes'])) : '' ?> |