{% extends 'base.html.twig' %} {% block title %}{{ animal.name }} - Fiche{% endblock %} {% block breadcrumb %} {% endblock %} {% block body %}
Nom | {{ animal.name }} |
---|---|
Type | {{ animal.getType().name }} |
Date de naissance | {{ animal.dateBirth ? animal.dateBirth|date('d/m/Y') : '' }} |
Adopté ? | {{ animal.isAdopted() ? (animal.getCurrentAdoption().getTypeAdoption() == constant('App\\Entity\\FamilyAnimal::TYPE_DEFINITIVE') ? "Définitive" : "Famille d'accueil") : "Non" }} {% if animal.isAdopted() %} chez {{ animal.getCurrentAdoption().getFamily().getName() }} {% endif %} |
Père | Mère |
---|---|
{% if animal.father is not null %} {{ include('animal/_micro_profile.html.twig',{'animal':animal.father}) }} {% else %} Inconnu {% endif %} | {% if animal.mother is not null %} {{ include('animal/_micro_profile.html.twig',{'animal':animal.mother}) }} {% else %} Inconnue {% endif %} |
Frère(s) & soeur(s) | |
{% for siblingAnimal in animal.siblings %}
{{ include('animal/_micro_profile.html.twig',{'animal':siblingAnimal}) }}
{% else %}
Aucun
{% endfor %}
|
|
Enfant(s) | |
{% for siblingAnimal in animal.childrenFather %}
{{ include('animal/_micro_profile.html.twig',{'animal':siblingAnimal}) }}
{% endfor %}
{% for siblingAnimal in animal.childrenMother %}
{{ include('animal/_micro_profile.html.twig',{'animal':siblingAnimal}) }}
{% endfor %}
{% if animal.childrenFather is empty and animal.childrenMother is empty %}
Aucun
{% endif %}
|
{{ animal.description|nl2br }}
Famille | Type | Date adoption | Date retour | Actions |
---|---|---|---|---|
{{ familyAnimal.getFamily().getName() }} | {{ familyAnimal.getTypeAdoption() == constant('App\\Entity\\FamilyAnimal::TYPE_DEFINITIVE') ? "Définitive" : "Famille d'accueil" }} | {{ familyAnimal.getDateAdoption()|date('d/m/Y') }} | {{ familyAnimal.getDateBack() ? familyAnimal.getDateBack()|date('d/m/Y') : '/' }} | Voir la famille Modifier l'adoption {% if familyAnimal.getTypeAdoption() == constant('App\\Entity\\FamilyAnimal::TYPE_TEMPORARY_FAMILY') %} Exporter {% endif %} |
Aucune ligne à afficher |
Date visite | Cabinet vétérinaire | Symptômes | Diagnostique | Médicaments / posologie | Poids | Prix | Actions |
---|---|---|---|---|---|---|---|
{{ animalHealthCheck.getDateVisit()|date('d/m/Y') }} | {{ animalHealthCheck.getVeterinary().name }} | {{ animalHealthCheck.getSymptoms()|nl2br }} | {{ animalHealthCheck.getVeterinaryDiagnostic()|nl2br }} | {{ animalHealthCheck.getMedications()|nl2br }} | {{ animalHealthCheck.getAnimalWeight() }} | {{ animalHealthCheck.getPrice()|format_currency('EUR') }} | Consulter |
Aucune ligne à afficher |
{{ include('document/_show_list.html.twig',{'documents':animal.documents}) }}
{{ include('document/_upload.html.twig',{'entity_type':'animal','entity_id':animal.id}) }}