{% extends 'base.html.twig' %} {% block title %}Rapport d'intervention{% endblock %} {% block javascripts %} {% endblock %} {% block body %}

Rapport d'intervention

{% set step = intervention.interventionReport.step %} {% if step != 9 %}

{% if step > 1 %}{% endif %} Étape {{ step }}/8

{% else %}

Résumé du rapport d'intervention

Terminer le rapport
{% endif %}
{% if step == 1 %}
Technicien(s) en charge de l'intervention
{% for technician in technicians %}
{{ technician }}
{% endfor %}
{% elseif step == 2 %}
Logiciel(s) de nettoyage utilisé(s)
Matériel non infecté
Matériel infecté
Analyse interne (facultatif)
{% for software in softwares %}
{{ software.title }}
{% endfor %}
{% elseif step == 3 %}
Action(s) effectuée(s) lors de l'intervention
{% for action in actions %}
{{ action.title }}
{% endfor %}
{% elseif step == 4 %}
Logiciel(s) installé(s) ou mis à jour
Installé
Mis à jour
Titre
{% for software in softwares %}
{{ software.title }}
{% endfor %}
{% elseif step == 5 %}
Sous-partie Windows
{% if isWindows(intervention.operatingSystem.title) == true %}
Installation de(s) mise(s) à jour Windows
{% set versions = ['24H2', '23H2', '22H2', '21H2', '21H1', '20H2', '2004', '1909', '1903', '1809'] %} {% for version in versions %}
{{ version }}
{% endfor %}
Activation Windows
{% else %}
Le matériel ne concerne pas un Windows ({{ intervention.operatingSystem }})
{% endif %}
{% elseif step == 6 %}
Rapport CrystalDisk - Usure batterie
État du disk :
Correct
Prudence
Mauvais

Heure(s) de Fonctionnement :

Taux d'usure de la batterie :
{% elseif step == 7 %}
Brochure(s) à donner
{% for booklet in booklets %}
{{ booklet.title }}
{% endfor %}
{% elseif step == 8 %}
Observations sur l'intervention
{% endif %} {% if step == 9 %}
Facture et informations
Observations : {{ intervention.interventionReport.comment ?: "Pas d'observations"}}
Facture
{% for task in intervention.tasks %}
{{ completePrice(task.price) }}€ - {{ task }}
{% endfor %} {% set billingLines = intervention.billingLines %} {% if billingLines|length > 0 %} {% for billingLine in billingLines %}
{{ completePrice(billingLine.price) }}€ - {{ billingLine }}
{% endfor %} {% endif %}
{{ include('billing_line/_form.html.twig', {'button_label': 'Ajouter'}) }}
Total : {{ intervention.totalPrice }}€
{% set technicians = intervention.interventionReport.technicians %} {% set hasTechnician = false %}
Technicien(s)

Nom
Prénom
{% for technician in technicians %} {% set hasTechnician = true %}
{{ technician.lastName }}
{{ technician.firstName }}
{% endfor %} {% if hasTechnician == false %}
Aucun technicien(s) assigné(s)
{% endif %}
{% set booklets = intervention.interventionReport.booklets %} {% set hasBooklet = false %}
Brochure(s) à donner

Titre
{% for booklet in booklets %} {% set hasBooklet = true %}
{{ booklet }}
{% endfor %} {% if hasBooklet == false %}
Aucune brochure(s) à donner
{% endif %}

Traitement de l'infection
{% set severityProblems = intervention.interventionReport.severityProblem %}
Sévérité de l'infection

Sévérité : {{ intervention.interventionReport.severity }}
Analyse interne : {{ intervention.interventionReport.internalAnalysis ?: "Pas d'informations sur l'analyse interne"}}
Nombre d'infections : {{ intervention.interventionReport.infectionCount ?: "Non renseigné"|raw }}
{% set softwares = intervention.interventionReport.softwareInterventionReports %} {% set hasSoftware = false %}
Logiciel(s) de nettoyage utilisé(s)

Titre
{% for software in softwares %} {% if software.action == 'Nettoyage' %} {% set hasSoftware = true %}
{{ software }}
{% endif %} {% endfor %} {% if hasSoftware == false %}
Aucun logiciel(s) spécifié(s)
{% endif %}
Info CrystalDisk
Info

État du disk : {{ intervention.interventionReport.diskState }}
Temps de fonctionnement : {{ intervention.interventionReport.uptime }}h
Taux d'usure de la batterie : {{ intervention.interventionReport.batteryDegradation }}%
Opérations sur le matériel
{% set actions = intervention.interventionReport.actions %} {% set hasAction = false %}
Action(s) effectuée(s)

Titre
{% for action in actions %} {% set hasAction = true %}
{{ action }}
{% endfor %} {% if hasAction == false %}
Aucune action(s) spécifiée(s)
{% endif %}
{% set softwares = intervention.interventionReport.softwareInterventionReports %} {% set hasSoftware = false %}
Installation(s)/mise(s) à jour de logiciel(s)

Titre
Action
{% for software in softwares %} {% if software.action != 'Nettoyage' %} {% set hasSoftware = true %}
{{ software }}
{{ software.action }}
{% endif %} {% endfor %} {% if hasSoftware == false %}
Aucun logiciel(s) spécifié(s)
{% endif %}
{% set installs = intervention.interventionReport.windowsInstall %}
Sous-partie Windows

Titre
{% if installs|length > 0 %} {% for install in installs %}
{{ install }}
{% endfor %} {% elseif isWindows(intervention.operatingSystem.title) == true %}
Le matériel n'a pas reçu d'installations windows
{% else %}
Le matériel ne concerne pas un Windows ({{ intervention.operatingSystem }})
{% endif %}
{% endif %} {% endblock %}