Compare commits
No commits in common. "0e5fb02d641a94d2af771dbf92eaab54a1586ea7" and "f23c68bcffa1792b8e0a97004e199277baab68f4" have entirely different histories.
0e5fb02d64
...
f23c68bcff
@ -43,7 +43,7 @@ ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
padding-bottom: 4%;
|
padding-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-custom {
|
.btn-custom {
|
||||||
|
@ -72,14 +72,4 @@ final class PlatsController extends AbstractController
|
|||||||
|
|
||||||
return $this->redirectToRoute('app_plats_index', [], Response::HTTP_SEE_OTHER);
|
return $this->redirectToRoute('app_plats_index', [], Response::HTTP_SEE_OTHER);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Route('/bestplats', name: 'app_plats_best', methods: ['GET'])]
|
|
||||||
public function getBest(PlatsRepository $platsRepository): Response
|
|
||||||
{
|
|
||||||
$bestplats = $platsRepository->findBestPlats();
|
|
||||||
// dd($bestplats);
|
|
||||||
return $this->render('plats/best.html.twig', [
|
|
||||||
'plat' => $bestplats,
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -23,9 +23,12 @@ class ClientsType extends AbstractType
|
|||||||
'class' => Tables::class,
|
'class' => Tables::class,
|
||||||
'choice_label' => 'id',
|
'choice_label' => 'id',
|
||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'expanded' => true,
|
|
||||||
])
|
])
|
||||||
|
->add('Commandes', EntityType::class, [
|
||||||
|
'class' => Commandes::class,
|
||||||
|
'choice_label' => 'id',
|
||||||
|
'multiple' => true,
|
||||||
|
])
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,17 +25,15 @@ class CommandesType extends AbstractType
|
|||||||
'class' => Clients::class,
|
'class' => Clients::class,
|
||||||
'choice_label' => 'id',
|
'choice_label' => 'id',
|
||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'expanded' => true,
|
|
||||||
])
|
])
|
||||||
->add('plats', EntityType::class, [
|
->add('plats', EntityType::class, [
|
||||||
'class' => Plats::class,
|
'class' => Plats::class,
|
||||||
'choice_label' => 'id',
|
'choice_label' => 'id',
|
||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'expanded' => true,
|
|
||||||
])
|
])
|
||||||
->add('StatutCommande', EntityType::class, [
|
->add('StatutCommande', EntityType::class, [
|
||||||
'class' => StatutCommandes::class,
|
'class' => StatutCommandes::class,
|
||||||
'choice_label' => 'libelle',
|
'choice_label' => 'id',
|
||||||
])
|
])
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ class ReservationsType extends AbstractType
|
|||||||
'class' => Utilisateurs::class,
|
'class' => Utilisateurs::class,
|
||||||
'choice_label' => 'id',
|
'choice_label' => 'id',
|
||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'expanded' => true,
|
|
||||||
])
|
])
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
@ -19,13 +19,11 @@ class TablesType extends AbstractType
|
|||||||
'class' => Clients::class,
|
'class' => Clients::class,
|
||||||
'choice_label' => 'id',
|
'choice_label' => 'id',
|
||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'expanded' => true,
|
|
||||||
])
|
])
|
||||||
->add('utilisateurs', EntityType::class, [
|
->add('utilisateurs', EntityType::class, [
|
||||||
'class' => Utilisateurs::class,
|
'class' => Utilisateurs::class,
|
||||||
'choice_label' => 'id',
|
'choice_label' => 'id',
|
||||||
'multiple' => true,
|
'multiple' => true,
|
||||||
'expanded' => true,
|
|
||||||
])
|
])
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
@ -40,14 +40,4 @@ class PlatsRepository extends ServiceEntityRepository
|
|||||||
// ->getOneOrNullResult()
|
// ->getOneOrNullResult()
|
||||||
// ;
|
// ;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
public function findBestPlats(): ?Plats
|
|
||||||
{
|
|
||||||
return $this->createQueryBuilder('p')
|
|
||||||
->orderBy('p.Nb_de_commande', 'DESC')
|
|
||||||
->setMaxResults(1)
|
|
||||||
->getQuery()
|
|
||||||
->getOneOrNullResult();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -63,12 +63,6 @@
|
|||||||
<span>Gérer Utilisateur</span>
|
<span>Gérer Utilisateur</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
|
||||||
<a href="/clients" class="btn-custom icon-container">
|
|
||||||
<i class="icon-medium"> {{ ux_icon('icon-park-outline:people') }}</i>
|
|
||||||
<span>Gestion Client</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/tables" class="btn-custom btn-gestion-table icon-container">
|
<a href="/tables" class="btn-custom btn-gestion-table icon-container">
|
||||||
<i class="icon-medium"> {{ ux_icon('ic:outline-table-bar') }}</i>
|
<i class="icon-medium"> {{ ux_icon('ic:outline-table-bar') }}</i>
|
||||||
@ -88,22 +82,22 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/plats/bestplats" class="btn-custom icon-container">
|
<div class="btn-custom icon-container">
|
||||||
<i class="icon-medium"> {{ ux_icon('fluent-emoji-high-contrast:ten-oclock') }}</i>
|
<i class="icon-medium"> {{ ux_icon('fluent-emoji-high-contrast:ten-oclock') }}</i>
|
||||||
<span>Voir tendances</span>
|
<span>Voir tendances</span>
|
||||||
</a>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/commandes" class="btn-custom icon-container">
|
<div class="btn-custom icon-container">
|
||||||
<i class="icon-medium"> {{ ux_icon('icon-park-outline:view-list') }}</i>
|
<i class="icon-medium"> {{ ux_icon('icon-park-outline:view-list') }}</i>
|
||||||
<span>Commandes</span>
|
<span>Commandes</span>
|
||||||
</a>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/reservations" class="btn-custom icon-container">
|
<div class="btn-custom icon-container">
|
||||||
<i class="icon-medium"> {{ ux_icon('fluent-mdl2:reservation-orders') }}</i>
|
<i class="icon-medium"> {{ ux_icon('fluent-mdl2:reservation-orders') }}</i>
|
||||||
<span>Réservation</span>
|
<span>Réservation</span>
|
||||||
</a>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -150,7 +144,7 @@
|
|||||||
|
|
||||||
{% block container_modal %}
|
{% block container_modal %}
|
||||||
<div id="container_modal">
|
<div id="container_modal">
|
||||||
<!-- Contenu par défaut, ou vous pouvez laisser vide -->
|
<!-- Contenu par défaut, ou vous p ouvez laisser vide -->
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -2,25 +2,7 @@
|
|||||||
|
|
||||||
{% block title %}Modifier Client{% endblock %}
|
{% block title %}Modifier Client{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block body %}
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block container_modal %}
|
|
||||||
|
|
||||||
<div id="container_modal">
|
|
||||||
<h1>Modifier Client</h1>
|
<h1>Modifier Client</h1>
|
||||||
|
|
||||||
{{ include('clients/_form.html.twig', {'button_label': 'Mettre à jour'}) }}
|
{{ include('clients/_form.html.twig', {'button_label': 'Mettre à jour'}) }}
|
||||||
@ -28,5 +10,4 @@
|
|||||||
<a href="{{ path('app_clients_index') }}">Retour à la liste</a>
|
<a href="{{ path('app_clients_index') }}">Retour à la liste</a>
|
||||||
|
|
||||||
{{ include('clients/_delete_form.html.twig') }}
|
{{ include('clients/_delete_form.html.twig') }}
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,24 +1,11 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Client index{% endblock %}
|
{% block title %}Clients index{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block container_modal %}
|
{% endblock %}
|
||||||
<div id="container_modal">
|
{% block body %}
|
||||||
<h1>Clients index</h1>
|
<h1>Clients index</h1>
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
@ -57,5 +44,4 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<a href="{{ path('app_clients_new') }}">Créer un nouveau client</a>
|
<a href="{{ path('app_clients_new') }}">Créer un nouveau client</a>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,29 +1,14 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Tables index{% endblock %}
|
{% block title %}Nouveau client{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/new.css') }}"> <!-- Ajout du fichier CSS -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
{% block body %}
|
||||||
{% block container_modal %}
|
|
||||||
|
|
||||||
<div id="container_modal">
|
|
||||||
<h1>Créer un client</h1>
|
<h1>Créer un client</h1>
|
||||||
|
|
||||||
{{ include('clients/_form.html.twig') }}
|
{{ include('clients/_form.html.twig') }}
|
||||||
|
|
||||||
<a href="{{ path('app_clients_index') }}">Retour à la liste</a>
|
<a href="{{ path('app_clients_index') }}">Retour à la liste</a>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,30 +1,13 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Tables index{% endblock %}
|
{% block title %}Modifier Commande{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
{% block body %}
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block container_modal %}
|
|
||||||
|
|
||||||
<div id="container_modal">
|
|
||||||
<h1>Modifier Commande</h1>
|
<h1>Modifier Commande</h1>
|
||||||
|
|
||||||
{{ include('commandes/_form.html.twig', {'button_label': 'Mettre à jour'}) }}
|
{{ include('commandes/_form.html.twig', {'button_label': 'Mettre à jour'}) }}
|
||||||
|
|
||||||
<a href="{{ path('app_commandes_index') }}">Retour à la liste</a>
|
<a href="{{ path('app_commandes_index') }}">Retour à la liste</a>
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,24 +1,11 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Commandes index{% endblock %}
|
{% block title %}Commandes index{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block container_modal %}
|
{% endblock %}
|
||||||
<div id="container_modal">
|
{% block body %}
|
||||||
<h1>Commandes index</h1>
|
<h1>Commandes index</h1>
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
@ -56,5 +43,4 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<a href="{{ path('app_commandes_new') }}">Créer une nouvelle commande</a>
|
<a href="{{ path('app_commandes_new') }}">Créer une nouvelle commande</a>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,29 +1,15 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Tables index{% endblock %}
|
{% block title %}Nouvelle commande{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/new.css') }}"> <!-- Ajout du fichier CSS -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block container_modal %}
|
{% block body %}
|
||||||
|
|
||||||
<div id="container_modal">
|
|
||||||
<h1>Créer une commande</h1>
|
<h1>Créer une commande</h1>
|
||||||
|
|
||||||
{{ include('commandes/_form.html.twig') }}
|
{{ include('commandes/_form.html.twig') }}
|
||||||
|
|
||||||
<a href="{{ path('app_commandes_index') }}">Retour à la liste</a>
|
<a href="{{ path('app_commandes_index') }}">Retour à la liste</a>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
{% extends 'base.html.twig' %}
|
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block container_modal %}
|
|
||||||
|
|
||||||
<div id="container_modal">
|
|
||||||
<h1>Tendance</h1>
|
|
||||||
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Id</th>
|
|
||||||
<th>Nom</th>
|
|
||||||
<th>Description</th>
|
|
||||||
<th>Prix</th>
|
|
||||||
<th>Categorie</th>
|
|
||||||
<th>Statut</th>
|
|
||||||
<th>Nb_de_commande</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{% if plat %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ plat.id }}</td>
|
|
||||||
<td>{{ plat.Nom }}</td>
|
|
||||||
<td>{{ plat.Description }}</td>
|
|
||||||
<td>{{ plat.Prix }}</td>
|
|
||||||
<td>{{ plat.Categorie }}</td>
|
|
||||||
<td>{{ plat.Statut ? 'Yes' : 'No' }}</td>
|
|
||||||
<td>{{ plat.NbDeCommande }}</td>
|
|
||||||
</tr>
|
|
||||||
{% else %}
|
|
||||||
<tr>
|
|
||||||
<td colspan="8">Aucun enregistrement trouvé</td>
|
|
||||||
</tr>
|
|
||||||
{% endif %}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,25 +1,12 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Tables index{% endblock %}
|
{% block title %}Modifier Réservation{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}">
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block container_modal %}
|
{% block body %}
|
||||||
<div id="container_modal">
|
|
||||||
<div class="page-container">
|
<div class="page-container">
|
||||||
<h1 class="page-title">Modifier Réservation</h1>
|
<h1 class="page-title">Modifier Réservation</h1>
|
||||||
|
|
||||||
@ -31,5 +18,4 @@
|
|||||||
|
|
||||||
{{ include('reservations/_delete_form.html.twig') }}
|
{{ include('reservations/_delete_form.html.twig') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,24 +1,11 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Reservations index{% endblock %}
|
{% block title %}Reservations index{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block container_modal %}
|
{% endblock %}
|
||||||
<div id="container_modal">
|
{% block body %}
|
||||||
<h1>Reservations index</h1>
|
<h1>Reservations index</h1>
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
@ -53,5 +40,4 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<a href="{{ path('app_reservations_new') }}">Créer une réservation</a>
|
<a href="{{ path('app_reservations_new') }}">Créer une réservation</a>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,29 +1,14 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
|
|
||||||
{% block title %}Tables index{% endblock %}
|
{% block title %}New Reservations{% endblock %}
|
||||||
|
|
||||||
{% block head %}
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
|
||||||
<link href="https://fonts.cdnfonts.com/css/brittany-signature" rel="stylesheet">
|
|
||||||
</head>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/list.css') }}"> <!-- Ajout du fichier CSS -->
|
<link rel="stylesheet" href="{{ asset('css/ControllerVues/new.css') }}"> <!-- Ajout du fichier CSS -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/ControllerVues/edit.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Index/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/Compte/index.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
<link rel="stylesheet" href="{{ asset('css/GestionUtilisateurs/GestionUtilisateurs.css') }}"> <!-- Ajout du fichier CSS -->
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block container_modal %}
|
{% endblock %}
|
||||||
<div id="container_modal">
|
{% block body %}
|
||||||
<h1>Créer une reservation</h1>
|
<h1>Créer une reservation</h1>
|
||||||
|
|
||||||
{{ include('reservations/_form.html.twig') }}
|
{{ include('reservations/_form.html.twig') }}
|
||||||
|
|
||||||
<a href="{{ path('app_reservations_index') }}">Retour à la liste</a>
|
<a href="{{ path('app_reservations_index') }}">Retour à la liste</a>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user