{% extends 'dashboard/base.twig' %} {% block title %}Création Devis{% endblock %} {% block title_header %}Nouveau Devis{% endblock %} {% block actions %} Annuler {% endblock %} {% block body %}
{{ form_start(form,{attr:{'data-turbo':'false'}}) }}
{# Décoration de fond #}
{# Header #}

Création d'un devis

Configuration des informations d'entête

{# SECTION ENTÊTE #} {% set input_class = "w-full bg-slate-900/60 border border-white/10 rounded-2xl px-5 py-4 text-sm text-white outline-none focus:border-blue-500/50 focus:bg-slate-900/90 transition-all duration-300" %} {% set label_class = "block text-[10px] font-black text-slate-500 uppercase tracking-[0.2em] mb-3 ml-2" %}
{{ form_label(form.num, null, {'label_attr': {'class': label_class}}) }} {{ form_widget(form.num, {'attr': {'class': input_class}}) }}
{{ form_label(form.createA, null, {'label_attr': {'class': label_class}}) }} {{ form_widget(form.createA, {'attr': {'class': input_class}}) }}
{{ form_label(form.customer, null, {'label_attr': {'class': label_class}}) }} {{ form_widget(form.customer, {'attr': {'class': input_class}}) }}
{# SECTION ADRESSES #}
{# SECTION ADRESSES #}
{{ form_label(form.startAt, null, {'label_attr': {'class': label_class}}) }} {{ form_widget(form.startAt, {'attr': {'class': input_class}}) }}
{{ form_label(form.endAt, null, {'label_attr': {'class': label_class}}) }} {{ form_widget(form.endAt, {'attr': {'class': input_class}}) }}

{# SECTION REPEATER #}

Détail des prestations

    {% for key,line in lines %}
  1. {% if line.id is defined %} {% endif %}
    {# 1. PRODUIT #}
    {# BOUTON RECHERCHER #}
    {# 3. PRIX HT J1 #}
    {# 4. PRIX HT SUP #}
    {# 6. SUPPRIMER #}
  2. {% endfor %}

Détail des options

    {% for key,option in options %}
  1. {% if option.id is defined %} {% endif %} {# 1. PRODUIT #}
    {# BOUTON RECHERCHER #}
    {# 3. PRIX HT J1 #}
    {# 6. SUPPRIMER #}
  2. {% endfor %}
{# VALIDATION #}
{{ form_end(form) }}
{% endblock %}