{% extends 'base_douchette.html.twig' %} {% import 'macros/macro.html.twig' as macro %} {% block title %} {{ parent() }} Recherche bons de livraison {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {{ parent() }}
{{ form_start(form, {'attr' : {'id' : 'blForm', 'class' : 'spinner_form form-inline'}}) }} Menu {{ form_widget(form.search) }} {{ form_end(form) }}
{% if bonLivraisons %}
{% for bonLivraison in bonLivraisons %}
Numéro : {{ bonLivraison.documentNumber }}
Date : {{ bonLivraison.getDocumentDate|date('d/m/Y') }}
Affaire : {{ bonLivraison.dealId }} ({{ bonLivraison.dealStatus }})
Secteur : {{ bonLivraison.dealSecteur }}
Référence : {{ bonLivraison.reference }}
Transport : {{ bonLivraison.transport }}
Commande : {{ bonLivraison.CommandeClient }}
Client : {{ bonLivraison.customerName }} {% if bonLivraison.getInvoiceContactName() != '' %} - {{ bonLivraison.getInvoiceContactName() }} {{ bonLivraison.getInvoiceContactFirstName() }} {% else %} - {{ bonLivraison.getDeliveryContactName() }} {{ bonLivraison.getDeliveryContactFirstName() }} {% endif %}
Adresse : {{ bonLivraison.getDeliveryAddress1() }}
{% if bonLivraison.getDeliveryAddress2() != '' %}{{ bonLivraison.getDeliveryAddress2() }}
{% endif %} {{ bonLivraison.getDeliveryZipCode() }} {{ bonLivraison.getDeliveryCity() }}
Tel - Mail : {% if bonLivraison.getDeliveryContactPhone() != '' and bonLivraison.getDeliveryContactCellPhone() != '' %} {{ bonLivraison.getDeliveryContactPhone() }} / {{ bonLivraison.getDeliveryContactCellPhone() }} {% elseif bonLivraison.getDeliveryContactPhone() != '' %} {{ bonLivraison.getDeliveryContactPhone() }} {% elseif bonLivraison.getDeliveryContactCellPhone() != '' %} {{ bonLivraison.getDeliveryContactCellPhone() }} {% endif %} - {{ bonLivraison.getDeliveryContactEmail() }}
Commentaire : {{ bonLivraison.comment|nl2br }}
{% endfor %}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}