Fix clients

This commit is contained in:
leroyv 2024-11-21 16:31:51 +01:00
parent c6decd7d6b
commit c3ff97cd6d
2 changed files with 5 additions and 3 deletions

View File

@ -19,12 +19,12 @@ class ClientsType extends AbstractType
->add('Nom') ->add('Nom')
->add('Email') ->add('Email')
->add('Telephone') ->add('Telephone')
->add('table', EntityType::class, [ ->add('Tables', EntityType::class, [
'class' => Tables::class, 'class' => Tables::class,
'choice_label' => 'id', 'choice_label' => 'id',
'multiple' => true, 'multiple' => true,
]) ])
->add('commandes', EntityType::class, [ ->add('Commandes', EntityType::class, [
'class' => Commandes::class, 'class' => Commandes::class,
'choice_label' => 'id', 'choice_label' => 'id',
'multiple' => true, 'multiple' => true,

View File

@ -1,8 +1,10 @@
{% extends 'base.html.twig' %} {% extends 'base.html.twig' %}
{% block title %}New Clients{% endblock %} {% block title %}New Clients{% endblock %}
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('css/new.css') }}"> <!-- Ajout du fichier CSS -->
{% endblock %}
{% block body %} {% block body %}
<h1>Create new Clients</h1> <h1>Create new Clients</h1>