{% extends 'base_rma_general.html.twig' %} {% import 'macros/macro.html.twig' as macro %} {% block title %} {{ parent() }} Diagnostic RMA {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block headerRight %} {{ parent() }} {% endblock %} {% block body %} {{ parent() }} {% if status == 'submit' %} {% elseif status == 'ok' %}
{{ form_start(form, {'attr' : {'id' : 'rma-diagnostic-form', 'autocomplete' : 'off'}}) }}

Formulaire Diagnostic

{{ form_widget(form.diagnosticDurationHour, {'attr' : {'style' : 'width: 44px; padding-right: 0;' }}) }} heures
{{ form_widget(form.diagnosticDurationMinute, {'attr' : {'style' : 'width: 48px; padding-right: 0;' }}) }} minutes
{{ form_widget(form.diagnosticTestFonctMat, {'attr' : {'style' : 'height: 100px; resize: none;'}}) }}
{{ form_widget(form.diagnosticDefaultNoted, {'attr' : {'style' : 'height: 100px; resize: none;'}}) }}
{{ form_widget(form.diagnosticTestRepair, {'attr' : {'style' : 'height: 100px; resize: none;'}}) }}
{{ form_widget(form.diagnosticConclusionDiag, {'attr' : {'style' : 'height: 100px; resize: none;'}}) }}
{{ form_widget(form.diagnosticCalibYesNo, {'attr' : { 'id' : 'CalibSelect', 'style' : 'margin-left: 50px; width: 60px; padding-right: 0;' }}) }}
{{ form_widget(form.diagnosticCalibText, {'attr' : { 'style' : 'height: 100px; resize: none;'}}) }}
{{ form_widget(form.isDraft, {'attr' : {'style' : 'display: none', 'value' : '0'}}) }} {{ form_end(form) }} {% elseif status == 'notOk' %}

Cette RMA ne nécessite pas de diagnostic

{% else %}

Aucune RMA trouvée

{% endif %} {% endblock %} {% block modal %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}