{% extends 'base_douchette.html.twig' %} {% import 'macros/macro.html.twig' as macro %} {% block title %} {{ parent() }} Recherche RMA {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {{ parent() }}
{{ form_start(form, {'attr' : {'id' : 'rmaForm', 'class' : 'spinner_form form-inline'}}) }} Menu {{ form_widget(form.search) }} {{ form_end(form) }}
{% if status != 'default' %}
{% if status == 'notFound' %}

Aucune RMA trouvée

{% elseif status == 'ok' %}
Référence RMA :
{{ rma.code }}
Statut actuel :
{{ rma.displayStatus }}
Client :
{{ rma.clientName }}
Matériel :
{% if rma.articleDesignation == '' %}INCONNU{% else %}{{ rma.articleDesignation }}{% endif %}
Référence matériel :
{% if rma.articleCode == '' %}INCONNU{% else %}{{ rma.articleCode }}{% endif %}
Date prévisionnelle de réparation :
{% if rma.datePlanifRepar != null %}{{ rma.datePlanifRepar| date("d/m/Y") }}{% endif %}
{% if rma.isStatusNull and rma.contactFormDate != null %} {% endif %}
{% if rma.isStatusNull == false %}
{% if rma.isStatusNull == false and rma.isStatusZero == false and rma.isStatusTermine == false %} {# #} {% endif %}
{% endif %}
{% if rma.contactFormDate == null %}

Le contact n'a pas encore remplit le formulaire

{% elseif rma.isStatusNull and rma.contactFormDate != null %} {% endif %}
{% endif %}
{% endif %}
{% endblock %} {% block modal %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}