{% extends 'base.html.twig' %} {% block title %}{{ animal.name }} - Fiche{% endblock %} {% block breadcrumb %} {% endblock %} {% block body %}

Animal

Informations
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 %}
Généalogie
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 %}
Photo
{{ include('animal/_show_main_picture.html.twig',{'animal':animal,'img_class':'img-profile'}) }}
{{ include('animal/_upload_form_main_picture.html.twig',{'animal':animal}) }}
Description

{{ animal.description|nl2br }}

Adoption

{% for familyAnimal in animal.familyAnimals %} {% else %} {% endfor %}
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

Visites vétérinaires

{% for animalHealthCheck in animal.animalHealthChecks %} {% else %} {% endfor %}
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

Documents

{#
Documents
#}

{{ include('document/_show_list.html.twig',{'documents':animal.documents}) }}

{{ include('document/_upload.html.twig',{'entity_type':'animal','entity_id':animal.id}) }}
 Retour à la liste {% endblock %}