{% extends 'admin/layout.html.twig' %} {% block title %}Prospection — WTL{% endblock %} {% block admin_body %}
Chaque ligne représente une campagne ; un même lieu peut être prospecté plusieurs fois.
| # | Lieu | Ville | Type | Contact ciblé | Priorité | Statut | Prochaine action | Créée par | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ p.id }} | {{ v ? v.name : p.venue }}{% if v and v.approximateBudget %} Budget ≈ {{ v.approximateBudget|number_format(0,',',' ') }} € {% endif %} |
{{ v ? v.city : p.city }} | {{ v and v.venueType ? v.venueType.name : (p.venueType ? p.venueType.name : '—') }} | {% if c %}{{ c.name }}{% if c.primaryContact %} Principal{% endif %}{% else %}—{% endif %} | {{ p.priority ? p.priority.name : '—' }} | {{ p.status ? p.status.name : '—' }} | {{ p.nextAction ?: '—' }}{% if p.nextActionDate %} {{ p.nextActionDate|date('d/m/Y') }} {% endif %} |
{{ p.createdBy ? p.createdBy.displayName : '—' }} |
Ouvrir
{% if can_permission('PROSPECTION',2) %}Nouvelle{% endif %}
{% if can_permission('QUOTE',2) %}{% elseif can_permission('QUOTE') %}Devis{% endif %}
{% if can_permission('CONVENTION') %}{% if quotes|length > 0 %}{% else %}{% endif %}{% endif %}
{% if unpaidInvoices|length > 0 and can_permission('PAYMENT',2) %}{% set invoice=unpaidInvoices|first %}{% elseif invoices|length > 0 %}Payée{% endif %}
{% if can_permission('DOCUMENT') or can_permission('QUOTE') or can_permission('INVOICE') or can_permission('CONVENTION') or can_permission('TECHNICAL_SHEET') %}{% endif %}
|
| Aucune prospection. | |||||||||