{% extends 'base.html.twig' %}
{% block title %}Liste des prestations
{% endblock %}
{% block body %}
Liste des prestations
{% if statutPrestation == "Annulé" %}annulées{% elseif statutPrestation == "Terminé" %}terminées{% else %}en cours
{% endif %}
Voir/modifier les informations d'un recrutement
Commenter un recrutement pour que l'utilisateur effectue des modifications
Télécharger les devis/facture associés à un recrutement
Revenir sur des actions appliqués à un recrutement (annuler un devis, une confirmation...)
{% if prestations|length > 0 %}
Devis
Facture
Date facturation
Société
Prestation
{% for prestation in prestations %}
0 and (prestation.statutPrestation == "Validé attente facture" or prestation.statutPrestation == "Facture payée") %}style="background-color:lightgreen"{% else %}style="background-color:lightyellow"{% endif %}>
{% if prestation.factures|length == 0 or prestation.devis|length > 0 %}
{% for devis in prestation.devis %}
{{ devis.titre }}
{% if devis.prestation.statutPrestation == "En attente validation devis client"
or devis.prestation.statutPrestation == "Validé devis client"
or devis.prestation.statutPrestation == "Validé attente facture"
or devis.prestation.statutPrestation == "Facture payée" %}
{% else %}
{% endif %}
{% if devis.prestation.statutPrestation == "Validé devis client"
or devis.prestation.statutPrestation == "Validé attente facture"
or devis.prestation.statutPrestation == "Facture payée" %}
{% else %}
{% endif %}
{% endfor %}
{% else %}
Facture seule
{% endif %}
0 %}style="background-color:lightgreen"{% else %}style="background-color:lightyellow"{% endif %}>
{% if prestation.factures|length > 0 %}
{% for facture in prestation.factures %}
{{ facture.titre }}
{% if facture.prestation.statutPrestation == "Validé attente facture"
or facture.prestation.statutPrestation == "Facture envoyée au client"
or facture.prestation.statutPrestation == "Facture payée" %}
{% elseif facture.prestation.statutPrestation == "Annulé" %}
{% else %}
{% endif %}
{% if facture.prestation.statutPrestation == "Facture payée" %}
{% elseif facture.prestation.statutPrestation == "Annulé" %}
{% else %}
{% endif %}
{% if facture.prestation.statutPrestation == "Annulé" %}
{{ facture.avoir }}
{% endif %}
{% endfor %}
{% endif %}
Prestations:
{% if prestation.enabled == null or prestation.enabled == 0 %}
{% else %}
{% endif %}
{% if prestation.statutPrestation == 'En création' and prestation.statutEstimation is null %}
{% else %}
{% endif %}
Estimation:
{% if prestation.statutEstimation == "Validée Lampyris" %}
{% else %}
{% endif %}
{% if prestation.statutEstimation == "Validée" and prestation.statutPrestation == "En attente validation tarification client" %}
{% else %}
{% endif %}
{% if prestation.statutEstimation == "Validée" or prestation.statutEstimation == "Validée Lampyris" %}
{% else %}
{% endif %}
{% if prestation.typeFacturation == "devis" and prestation.statutEstimation == "Validée" %}
Devis:
{% if prestation.devis|length > 0 %}
{% else %}
{% endif %}
{% if prestation.statutPrestation != "Facture payée" %}
{% else %}
{% endif %}
{% if prestation.statutPrestation == "Validé attente facture" or prestation.statutPrestation == "Validé devis client"%}
{% else %}
{% endif %}
{% if prestation.statutPrestation.nom == "Validé devis client" %}
{% else %}
{% endif %}
{% endif %}
{% if prestation.typeFacturation is not null and prestation.statutEstimation == "Validée" %}