Merge remote-tracking branch 'origin/feature/Controller' into feature/Controller

This commit is contained in:
bayard 2024-11-21 17:03:43 +01:00
commit 652ed0f23f
2 changed files with 5 additions and 3 deletions

View File

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

View File

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