{% extends "admin/base.html.twig" %} {% trans_default_domain 'ec_admin' %} {% set title = "Quotations"|trans %} {% block title %}{{ title|raw }}{% endblock %} {% block pageTitle %}{{ title|raw }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block body %}
{% if searchForm %} {{ form_start(searchForm, {'attr': {'id': 'index-search-form', 'class': 'form-material', 'novalidate': 'novalidate', 'action': app.request.uri}}) }}
{{ form_widget(searchForm.search) }}
{{ form_end(searchForm) }} {% endif %}
{% set userId = app.user.id is defined ? app.user.id : null %}
{% if routeExist('admin_quotation_new') and 'edit'|moduleActive(allModules) %} {{ render_esi(controller(namespace ~ "::new", {'website': website.id})) }} {% endif %}
{% include 'admin/include/stripe-preloader.html.twig' with {'preloaderId': 'index-preloader'} only %} {% for entity in pagination %} {% else %} {% endfor %}
{{ "Numéro de devis"|trans }} {{ "Infos"|trans }} {{ "Devis"|trans }} {{ "Envoie de mail"|trans }} {{ "Actions"|trans }}
{{ entity.number }}
    {% if entity.projectManager.name is defined and entity.projectManager.name %}
  • {{ "Chef de projet"|trans }} : {{ entity.projectManager.name }}
  • {% endif %}
  • {% set productionDate = entity.order.productionDate is defined and entity.order.productionDate ? entity.order.productionDate : null %} {% set productionDate = productionDate|orderProductionDate(entity.order.deliveryDate) %} {% set productionDate = productionDate ? productionDate|localizeddate('none', 'none', app.request.locale, null, "cccc dd MMMM Y") : 'N/C'|trans %} {% set deliveryDate = entity.order.deliveryDate is defined and entity.order.deliveryDate ? entity.order.deliveryDate|localizeddate('none', 'none', app.request.locale, null, "cccc dd MMMM Y") : 'N/C'|trans %} {{ "Date de mise production"|trans }} : {{ productionDate }}
  • {{ "Date de livraison"|trans }} : {{ deliveryDate }}
  • {% set i18n = entity.status|i18n(app.request.locale) %} {% set i18n = i18n and i18n.placeholder is defined and i18n.placeholder ? i18n : entity.status|i18n('fr') %} {% set content = entity.status and i18n and i18n.placeholder is defined and i18n.placeholder ? i18n.placeholder : 'N/C'|trans %} {% set status = entity|quotationStatus %} {{ "Statut"|trans }} : {{ content }}
  • {% set contact = entity.user %}
  • {{ "Contact"|trans }} : {{ contact.username }}
  • {% set companyName = contact.customer.name %} {{ "Entreprise"|trans }} : {{ companyName }}
{% set quotationPdf = entity.dirname is defined and entity.dirname %} {% if 'edit'|moduleActive(allModules) and quotationPdf %} {% if quotationPdf %} {% endif %} {% endif %} {# {% set orderBC = entity.order.dirname is defined and entity.order.dirname %}#} {# {% if 'edit'|moduleActive(allModules) and orderBC %}#} {# #} {# #} {# {% if quotationPdf %}#} {# #} {# {% endif %}#} {# #} {# {% else %}#} {# #} {# #} {# {% if quotationPdf %}#} {# #} {# {% endif %}#} {# #} {# {% endif %}#}
{% set status = entity.status %} {% set email = status ? status.email : null %} {% set i18n = email|i18n(contact.locale) %} {% if status %} {% set i18n = i18n ? i18n : status.email|i18n('fr') %} {% endif %} {% if i18n and email and email.isActive %} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% endif %} {% if 'delete'|moduleActive(allModules) %} {% endif %}
{{ "Aucune quotation"|trans }}
{% include 'admin/core/include/pagination.html.twig' %}
{% endblock %}