-
+
{% trans %}layout.register{% endtrans %}
diff --git a/src/Controller/Admin/DashboardController.php b/src/Controller/Admin/DashboardController.php
index 6e018094..e37e2816 100644
--- a/src/Controller/Admin/DashboardController.php
+++ b/src/Controller/Admin/DashboardController.php
@@ -10,7 +10,7 @@ use Symfony\Component\Routing\Annotation\Route;
class DashboardController extends AbstractDashboardController
{
- #[Route('/admin', name: 'admin')]
+ #[Route('/admin', name: 'dashboard')]
public function index(): Response
{
return parent::index();
diff --git a/src/Controller/DefaultController.php b/src/Controller/DefaultController.php
index b9b65e1d..94d80123 100644
--- a/src/Controller/DefaultController.php
+++ b/src/Controller/DefaultController.php
@@ -11,7 +11,7 @@ class DefaultController extends AbstractController
#[Route('/', name: 'app_home')]
public function home(): Response
{
- return $this->render('default/home.html.twig', [
+ return $this->render('default/index.html.twig', [
]);
}
diff --git a/templates/base.html.twig b/templates/base.html.twig
old mode 100644
new mode 100755
index fc16eade..85e2ca4a
--- a/templates/base.html.twig
+++ b/templates/base.html.twig
@@ -1,21 +1,57 @@
+{% trans_default_domain 'messages' %}
-
{% block title %}Welcome!{% endblock %}
-
- {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
+
+
{% block title %} {% trans %}menu.title{% endtrans %} - Fiche de compte dynamique{% endblock %}
{% block stylesheets %}
- {{ encore_entry_link_tags('app') }}
- {% endblock %}
-
- {% block javascripts %}
- {{ encore_entry_script_tags('app') }}
+
{% endblock %}
-
- {% block body %}
- coucou!
- {% endblock %}
-
+
+
+{% block navigation %}
+{% endblock %}
+
+ {% block bigMain %}
+
+ {% include 'default/header.html.twig' %}
+
+
+ {% block body %}
+ {% endblock %}
+
+
+ {% include 'default/footer.html.twig' %}
+ {% endblock %}
+
+{% block javascripts %}
+
+
+
+
+
+
+
+
+{% endblock %}
+
diff --git a/templates/default/description-app.html.twig b/templates/default/description-app.html.twig
new file mode 100755
index 00000000..bcc69a39
--- /dev/null
+++ b/templates/default/description-app.html.twig
@@ -0,0 +1,48 @@
+
+
+
+
+
{% trans %}home.specs.free{% endtrans %}
+
{% trans %}home.specs.free_text{% endtrans %}
+
+
+
+
{% trans %}home.specs.flex{% endtrans %}
+
{% trans %}home.specs.flex_text{% endtrans %}
+
+
+
+
{% trans %}home.specs.portable{% endtrans %}
+
{% trans %}home.specs.portable_text{% endtrans %}
+
+
+
+
+
+
+
{% trans %}home.specs.open{% endtrans %}
+
{% trans %}home.specs.open_text{% endtrans %}
+
+
+
+
+
+
{% trans %}home.specs.stats{% endtrans %}
+
+ {% trans %}home.specs.stats_text{% endtrans %}
+
+
+
+
+
{% trans %}home.specs.data{% endtrans %}
+
{% trans %}home.specs.data_text{% endtrans %}
+
+
+
diff --git a/templates/default/footer.html.twig b/templates/default/footer.html.twig
new file mode 100755
index 00000000..a1cfe087
--- /dev/null
+++ b/templates/default/footer.html.twig
@@ -0,0 +1,27 @@
+
diff --git a/templates/default/header.html.twig b/templates/default/header.html.twig
new file mode 100755
index 00000000..f70fb3f3
--- /dev/null
+++ b/templates/default/header.html.twig
@@ -0,0 +1,27 @@
+
diff --git a/templates/default/home.html.twig b/templates/default/home.html.twig
index f460ca56..df74ec86 100644
--- a/templates/default/home.html.twig
+++ b/templates/default/home.html.twig
@@ -6,4 +6,4 @@
Caisse bliss is here
-{% endblock %}
+{% endblock %}
\ No newline at end of file
diff --git a/templates/default/index.html.twig b/templates/default/index.html.twig
old mode 100644
new mode 100755
index 49d03b44..1edc80cb
--- a/templates/default/index.html.twig
+++ b/templates/default/index.html.twig
@@ -1,28 +1,6 @@
{% extends 'base.html.twig' %}
+{% block bigMain %}
-{% block title %}Hello DefaultController!{% endblock %}
+ {% include 'default/main-screen.html.twig' %}
-{% block body %}
-
-
-
-
Hello {{ controller_name }}! ✅
-
- This friendly message is coming from:
- {% if number %}
-
-
-
- {{ number }}
-
-
- {% endif %}
-
-
{% endblock %}
diff --git a/templates/default/login-choices.html.twig b/templates/default/login-choices.html.twig
new file mode 100755
index 00000000..3c892a3b
--- /dev/null
+++ b/templates/default/login-choices.html.twig
@@ -0,0 +1,181 @@
+{% block loginchoices %}
+
+
+
+
+ {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
+
+
+
+ {% else %}
+
+
+
+ {% endif %}
+
+
+
+{% endblock loginchoices %}
diff --git a/templates/default/main-screen.html.twig b/templates/default/main-screen.html.twig
new file mode 100755
index 00000000..76836785
--- /dev/null
+++ b/templates/default/main-screen.html.twig
@@ -0,0 +1,100 @@
+{% block bigMain %}
+
+ {% include 'default/header.html.twig' %}
+
+ {% block body %}
+
+
+
+
+
+
+
+
+ {##}
+ {% trans %}menu.title{% endtrans %}
+
+
+
+
+ {% trans %}home.main_description{% endtrans %}
+
+
+
+
+
+
+
+
+ {% trans %}home.demo_hint{% endtrans %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {% include 'default/description-app.html.twig' %}
+
+
+
+
+
+
+ {% endblock %}
+ {% include 'default/footer.html.twig' %}
+
+{% endblock %}
diff --git a/templates/default/test-email.html.twig b/templates/default/test-email.html.twig
new file mode 100755
index 00000000..0da7411a
--- /dev/null
+++ b/templates/default/test-email.html.twig
@@ -0,0 +1,15 @@
+{% extends 'base.html.twig' %}
+
+{% block bigMain %}
+
+
tadam test de mail
+
+
+
+ le contenu Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus doloremque exercitationem
+ provident quae quod soluta sunt velit. Architecto, assumenda deserunt expedita laudantium nemo voluptatem.
+ Atque commodi est iste itaque mollitia. Consequatur cumque cupiditate eveniet facilis illo illum impedit
+ itaque omnis placeat quaerat, quia quidem ratione saepe similique sunt veniam veritatis.
+
+
+{% endblock %}
diff --git a/templates/festival/edit.html.twig b/templates/festival/edit.html.twig
new file mode 100755
index 00000000..20df02e4
--- /dev/null
+++ b/templates/festival/edit.html.twig
@@ -0,0 +1,25 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Festival edit
+
+ {{ form_start(edit_form) }}
+ {{ form_widget(edit_form) }}
+
+ {{ form_end(edit_form) }}
+
+
+{% endblock %}
diff --git a/templates/festival/index.html.twig b/templates/festival/index.html.twig
new file mode 100755
index 00000000..df538898
--- /dev/null
+++ b/templates/festival/index.html.twig
@@ -0,0 +1,95 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
+
+
+
+
+
+ Id |
+ Name |
+ Datecreation |
+ Tous Frais |
+ Clients |
+ fond caisse avant |
+ fond caisse apres |
+ chiffre affaire |
+ fond caisse + CA |
+ diff |
+ bénefices CA - frais |
+ Actions |
+
+
+
+
+
+ {% for festival in festivals %}
+
+
+ {{ festival.id }}
+ |
+ {{ festival.name }} |
+ {% if festival.dateCreation %}{{ festival.dateCreation|date('Y-m-d H:i:s') }}{% endif %} |
+ {{ festival.fraisInscription + festival.fraisTransport + festival.fraisRepas + festival.fraisHebergement }}
+ €
+ |
+
+ {{ festival.sellRecords|length }} |
+ {{ festival.fondDeCaisseAvant }}€ |
+ {{ festival.fondDeCaisseApres }}€ |
+ {{ festival.chiffreAffaire }}€ |
+ {{ festival.fondDeCaisseAvant + festival.chiffreAffaire }}€ |
+ {{ festival.chiffreAffaire - festival.fondDeCaisseApres }}€
+ |
+ {{ festival.chiffreAffaire - (festival.fraisInscription + festival.fraisTransport + festival.fraisRepas + festival.fraisHebergement ) }} |
+
+ {% if app.user.activeFestival and (app.user.activeFestival.id == festival.id) %}
+
+ Actuel
+
+ {% else %}
+
+ choisir comme actuel
+
+ {% endif %}
+
+ {% if festival.user|length %}
+ {% for u in festival.user %}
+ {{ u.username }}
+ {% endfor %}
+ {% else %}
+
+
+ pas d'owner.
+
+ {% endif %}
+
+
+ Modifier
+
+ |
+
+ {% endfor %}
+
+
+
+
Nouveau festival
+{% endblock %}
diff --git a/templates/festival/new.html.twig b/templates/festival/new.html.twig
new file mode 100755
index 00000000..dafecb74
--- /dev/null
+++ b/templates/festival/new.html.twig
@@ -0,0 +1,16 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Festival creation
+
+ {{ form_start(form) }}
+ {{ form_widget(form) }}
+
+ {{ form_end(form) }}
+
+
+{% endblock %}
diff --git a/templates/festival/show.html.twig b/templates/festival/show.html.twig
new file mode 100755
index 00000000..65734eef
--- /dev/null
+++ b/templates/festival/show.html.twig
@@ -0,0 +1,39 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Festival
+
+
+
+
+ Id |
+ {{ festival.id }} |
+
+
+ Name |
+ {{ festival.name }} |
+
+
+ Datecreation |
+ {% if festival.dateCreation %}{{ festival.dateCreation|date('Y-m-d H:i:s') }}{% endif %} |
+
+
+
+
+
+{% endblock %}
diff --git a/templates/legal/privacy.html.twig b/templates/legal/privacy.html.twig
new file mode 100755
index 00000000..11e443ec
--- /dev/null
+++ b/templates/legal/privacy.html.twig
@@ -0,0 +1 @@
+
Privacy
diff --git a/templates/legal/tos.html.twig b/templates/legal/tos.html.twig
new file mode 100755
index 00000000..d495e190
--- /dev/null
+++ b/templates/legal/tos.html.twig
@@ -0,0 +1 @@
+
Terms of service
diff --git a/templates/logged/angular/categ-options.html.twig b/templates/logged/angular/categ-options.html.twig
new file mode 100644
index 00000000..90de25bd
--- /dev/null
+++ b/templates/logged/angular/categ-options.html.twig
@@ -0,0 +1,26 @@
+{% verbatim %}
+
+
+
+
+ Visibilité des
+ {{ categories.length - categoriesVisibleCount() }} /
+ {{ categories.length }} catégories
+
+
+
+
+ {{ c.name }}
+
+ (caché)
+
+
+
+
+
+
+ Aucune catégorie enregistrée
+
+{% endverbatim %}
diff --git a/templates/logged/angular/current.html.twig b/templates/logged/angular/current.html.twig
new file mode 100755
index 00000000..345eef71
--- /dev/null
+++ b/templates/logged/angular/current.html.twig
@@ -0,0 +1,64 @@
+{% verbatim %}
+
+
+
diff --git a/templates/logged/angular/listing-products.html.twig b/templates/logged/angular/listing-products.html.twig
new file mode 100755
index 00000000..712f6efc
--- /dev/null
+++ b/templates/logged/angular/listing-products.html.twig
@@ -0,0 +1,40 @@
+{% verbatim %}
+
+
+
+
+
+ {{ c.name }}
+
+
+
+
+
+
+
+
+
+
+
+{% endverbatim %}
diff --git a/templates/logged/angular/loaded-caisse.html.twig b/templates/logged/angular/loaded-caisse.html.twig
new file mode 100755
index 00000000..6dc27362
--- /dev/null
+++ b/templates/logged/angular/loaded-caisse.html.twig
@@ -0,0 +1,30 @@
+
+
+
+
+
+ {% include 'logged/angular/messages.html.twig' %}
+ {% include 'logged/angular/listing-products.html.twig' %}
+
+
+
+
+
+
+ {% include 'logged/angular/validate-button.html.twig' %}
+ {% if app.user.products |length %}
+ {% include 'logged/angular/current.html.twig' %}
+ {% endif %}
+
+ {#{% include 'logged/angular/paused.html.twig' %}#}
+
+
+
+
+ {% include 'logged/angular/recent.html.twig' %}
+
+
+ {% include 'logged/angular/categ-options.html.twig' %}
+
+
+
diff --git a/templates/logged/angular/messages.html.twig b/templates/logged/angular/messages.html.twig
new file mode 100755
index 00000000..37f46a91
--- /dev/null
+++ b/templates/logged/angular/messages.html.twig
@@ -0,0 +1,42 @@
+{% verbatim %}
+
+
+
+ Vous n'avez pas encore enregistré de catégorie de produit, ajoutez-en donc.
+
+
+
+ Vous n'avez pas encore enregistré de produit, ajoutez-en donc.
+
+ {% endverbatim %}
+
+
+
+ {% if app.user.activeFestival is null %}
+
+
+ Sélectionnez un festival pour grouper vos ventes clients par évènement.
+
+ {% endif %}
+
+
+
+{% if not (app.user.products |length) %}
+
+
+{% endif %}
+
+{% verbatim %}
+
+
+{% endverbatim %}
diff --git a/templates/logged/angular/pause-selling.html.twig b/templates/logged/angular/pause-selling.html.twig
new file mode 100755
index 00000000..8ca4fa03
--- /dev/null
+++ b/templates/logged/angular/pause-selling.html.twig
@@ -0,0 +1,8 @@
+{% verbatim %}
+
+
+
+
+
+
+{% endverbatim %}
diff --git a/templates/logged/angular/paused.html.twig b/templates/logged/angular/paused.html.twig
new file mode 100755
index 00000000..35d3dc2a
--- /dev/null
+++ b/templates/logged/angular/paused.html.twig
@@ -0,0 +1,15 @@
+{% verbatim %}
+
+
+ Ventes en pause
+
+
+ -
+ {{ $index }}) {{ list.products.length }} produits,
+ {{ sumOfList(list) }}€
+
+
+
+
+{% endverbatim %}
diff --git a/templates/logged/angular/recent.html.twig b/templates/logged/angular/recent.html.twig
new file mode 100755
index 00000000..077adc1c
--- /dev/null
+++ b/templates/logged/angular/recent.html.twig
@@ -0,0 +1,8 @@
+
+ {% verbatim %}
+
+{{s.id}} )
+{{s.amount}} €
+
+ {% endverbatim %}
+
diff --git a/templates/logged/angular/totals.html.twig b/templates/logged/angular/totals.html.twig
new file mode 100755
index 00000000..a5de292c
--- /dev/null
+++ b/templates/logged/angular/totals.html.twig
@@ -0,0 +1,33 @@
+{% verbatim %}
+
+
+
+
Total:
+
+
+
+
+ {{ CurrentSellingTotal() }}
+ €
+
+
+
+
+
+
+
+ Le client paie:
+
+
+
+
+
+
+
+
Rendu: {{ -1*(CurrentSellingTotal() - paidAmount) }} €
+
+
+
il manque: {{ CurrentSellingTotal() - paidAmount }} €
+
+
+{% endverbatim %}
diff --git a/templates/logged/angular/validate-button.html.twig b/templates/logged/angular/validate-button.html.twig
new file mode 100755
index 00000000..655e667c
--- /dev/null
+++ b/templates/logged/angular/validate-button.html.twig
@@ -0,0 +1,13 @@
+{% verbatim %}
+
+{% endverbatim %}
diff --git a/templates/logged/caisse-main.html.twig b/templates/logged/caisse-main.html.twig
new file mode 100755
index 00000000..a98b166a
--- /dev/null
+++ b/templates/logged/caisse-main.html.twig
@@ -0,0 +1,11 @@
+
+
+ {% verbatim %}
+
+
+ Chargement en cours de vos produits
+
+
+ {% endverbatim %}
+ {% include 'logged/angular/loaded-caisse.html.twig' %}
+
diff --git a/templates/logged/customer.html.twig b/templates/logged/customer.html.twig
new file mode 100644
index 00000000..baf8fd74
--- /dev/null
+++ b/templates/logged/customer.html.twig
@@ -0,0 +1,25 @@
+{% verbatim %}
+
+
+
+
+
+
+
+
+
+{% endverbatim %}
diff --git a/templates/logged/dashboard.html.twig b/templates/logged/dashboard.html.twig
new file mode 100755
index 00000000..4ec91f52
--- /dev/null
+++ b/templates/logged/dashboard.html.twig
@@ -0,0 +1,38 @@
+{% extends 'base.html.twig' %}
+{% block body %}
+ {% verbatim %}
+
+
+
+
+
+
+ {% endverbatim %}
+ {% include 'logged/listing-options.html.twig' %}
+ {% include 'logged/festival-infos.html.twig' %}
+ {#
#}
+
+
+ {% include 'logged/customer.html.twig' %}
+ {% verbatim %}
+
+
+
+
+
+
+ Sauvegardé! WOHOOOOOO +{{recentSellings[recentSellings.length -1].amount}} €
+
+
+
+ Problème de sauvegarde (pas de réseau ?)
+
+{% endverbatim %}
+ {% include 'logged/caisse-main.html.twig' %}
+ {% verbatim %}
+ {% endverbatim %}
+
+
+{% endblock %}
diff --git a/templates/logged/festival-infos.html.twig b/templates/logged/festival-infos.html.twig
new file mode 100644
index 00000000..ab9982da
--- /dev/null
+++ b/templates/logged/festival-infos.html.twig
@@ -0,0 +1,25 @@
+
diff --git a/templates/logged/history-script.html.twig b/templates/logged/history-script.html.twig
new file mode 100755
index 00000000..fdef6921
--- /dev/null
+++ b/templates/logged/history-script.html.twig
@@ -0,0 +1,75 @@
+
+
diff --git a/templates/logged/history.html.twig b/templates/logged/history.html.twig
new file mode 100755
index 00000000..c4c67cbe
--- /dev/null
+++ b/templates/logged/history.html.twig
@@ -0,0 +1,156 @@
+{% extends 'base.html.twig' %}
+{% block body %}
+
+
+
+
+
Historique
+
+
+
+
+
+
+
+
+
+ {{ allSellings }}
+
+ Clients
+
+
+
+
+
+
+ {{ chiffreAffaires }}
+
+ Chiffre d'affaires
+
+
+
+
+
+
+
+ {% if allSellings %}
+ {{ (chiffreAffaires / (allSellings))|round }}
+ {% else %}
+ ?
+ {% endif %}
+
+
+ € panier moyen
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Statistiques de ventes
+
+
+
{{ statisticsFestivals |length }} Festival
+ {% if statisticsFestivals |length >1 %}
+ s
+ {% endif %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ recentSells |length }} Dernières ventes
+
+
+
+
+
+
+ n° |
+ date |
+ commentaire |
+ produits |
+ montant |
+ Actions |
+
+
+
+
+ {% for vente in recentSells %}
+
+
+
+
+
+ {{ vente.id }} |
+ {{ vente.date |date('Y-m-d H:i:s') }} |
+ {{ vente.comment }} |
+
+ {% if vente.productsSold |length >1 %}
+
+ {{ vente.productsSold |length }}
+ produits
+
+ {% else %}
+ {% if vente.productsSold and vente.productsSold.0 is defined %}
+
+ {{ vente.productsSold.0.name }}
+ {% endif %}
+ {% endif %}
+
+ |
+
+ {{ vente.amount }}
+ |
+
+
+
+
+ |
+
{% endfor %}
+
+
+
+
+
+
+
+
+
+
+
+ {% include ':logged:history-script.html.twig' %}
+
+
+
+{% endblock %}
diff --git a/templates/logged/import.html.twig b/templates/logged/import.html.twig
new file mode 100755
index 00000000..7bd8c913
--- /dev/null
+++ b/templates/logged/import.html.twig
@@ -0,0 +1,39 @@
+{% extends 'base.html.twig' %}
+{% block body %}
+
Importation, création en masse
+
+
+
+
+ {% include 'logged/mass-register.html.twig' %}
+
+
+
+
+{% endblock %}
diff --git a/templates/logged/listing-options.html.twig b/templates/logged/listing-options.html.twig
new file mode 100644
index 00000000..d8dd60f7
--- /dev/null
+++ b/templates/logged/listing-options.html.twig
@@ -0,0 +1,48 @@
+
+ {% verbatim %}
+
+
+
+
+
+
+
+
+
+
+
+
+{% endverbatim %}
+
diff --git a/templates/logged/mass-register.html.twig b/templates/logged/mass-register.html.twig
new file mode 100755
index 00000000..9b261bd6
--- /dev/null
+++ b/templates/logged/mass-register.html.twig
@@ -0,0 +1,49 @@
+
diff --git a/templates/logged/ng2.html.twig b/templates/logged/ng2.html.twig
new file mode 100755
index 00000000..e4820571
--- /dev/null
+++ b/templates/logged/ng2.html.twig
@@ -0,0 +1,8 @@
+{% extends 'base.html.twig' %}
+{% block body %}
+
+
Appli angular embarquée
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/templates/logged/previsionnel.html.twig b/templates/logged/previsionnel.html.twig
new file mode 100755
index 00000000..86ad94a8
--- /dev/null
+++ b/templates/logged/previsionnel.html.twig
@@ -0,0 +1,281 @@
+{% extends 'base.html.twig' %}
+{% block body %}
+ {% verbatim %}
+
+
+
+
+
+
Prévisionnel
+
+
+
+
+
+ Chargement
+
+
+ Modifications sauvegardées
+
+
+
+
+
+
+
+
+ Configuration
+
+
+
+
+
+
+ Dépenses mensuelles:
+
+
+ {{ sumMonthlyExpenses() }} €
+
+
+
+
+
+ Bénef mensuel: {{ config.averageMonthlyEarnings - sumMonthlyExpenses() }} €
+
+
+
+ Crédit mensuel réalisable (33% des gains moyens par mois): {{ config.averageMonthlyEarnings * 0.33 |number }} €
+
+
+
+
+
+
+
+ {{expenses.length}} Postes de dépenses mensuelles
+
+
+
+ Indiquez les catégories de dépenses mensuelles que vous faites pour faire évoluer la
+ simulation de budget restant dans plusieurs mois.
+
+
+
+
+ Exemples de postes de dépenses à ajouter:
+
+ {% endverbatim %}
+ {{ "
+ appartement
+ mutuelle
+ transport en commun
+ assurance voiture
+ assurance moto
+ trucs de loisirs divers
+ gaz
+ elec
+ internet
+ épargne
+ impots
+ cottisation URSSAF
+ resto au boulot
+ courses
+ serveur wouaibe
+ abonnement protonmail VPN
+ abonnement service audio, vidéo
+ carburant véhicule
+ donations
+ médecin
+ chat
+ chien
+ licorne"|nl2br }}
+
+ {% verbatim %}
+
+
+
+
+
+
+
Simulation sur {{config.lines}} mois
+
(graphique)
+
+
+
+
+ Ce sera la dèche dans {{config.monthsBeforeNoMoney}} mois
+
+
+ cool ! votre plan est supportable dans le temps
+
+
+
+
+
+ Month in the future
+ |
+
+ date
+ |
+
+ Dépenses
+ |
+
+ Disponibilité
+ |
+
+
+
+
+
+
+ {{ $index }}
+
+
+ {{ $index }} bientôt la dèche
+
+
+ {{ $index }} DAMNED pu de pognon!
+
+ |
+
+ -
+ |
+
+
+ {{ line.expense }}
+ |
+
+
+
+
+ {{ line.available}}
+
+ €
+ |
+
+
+
+
+
+
+
+
+
+
+
+ {% endverbatim %}
+{% endblock %}
\ No newline at end of file
diff --git a/templates/product/edit.html.twig b/templates/product/edit.html.twig
new file mode 100755
index 00000000..9ff52d27
--- /dev/null
+++ b/templates/product/edit.html.twig
@@ -0,0 +1,24 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Product edit
+
+ {{ form_start(edit_form) }}
+ {{ form_widget(edit_form) }}
+
+ {{ form_end(edit_form) }}
+
+
+{% endblock %}
diff --git a/templates/product/index.html.twig b/templates/product/index.html.twig
new file mode 100755
index 00000000..98ffe6b4
--- /dev/null
+++ b/templates/product/index.html.twig
@@ -0,0 +1,74 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
+
+
+
+
+
+ Id |
+ Category |
+ Name |
+ Image |
+ Price |
+ Stocks |
+ Vendus |
+ Comment |
+ Actions |
+
+
+
+ {% for product in products %}
+
+
+ {{ product.id }}
+ |
+
+
+ {{ product.category.name }}
+
+
+
+ |
+
+
+ {{ product.name }}
+
+ |
+ {{ product.image }} |
+ {{ product.price }} |
+ {{ product.stockCount }} |
+ {{ product.productsSold | length }} |
+ {{ product.comment }} |
+
+
+
+
+ |
+
+ {% endfor %}
+
+
+
+
Nouveau produit
+{% endblock %}
diff --git a/templates/product/new.html.twig b/templates/product/new.html.twig
new file mode 100755
index 00000000..55e347a7
--- /dev/null
+++ b/templates/product/new.html.twig
@@ -0,0 +1,19 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Product creation
+
+ {{ form_start(form) }}
+ {{ form_widget(form) }}
+
+ {{ form_end(form) }}
+
+
+{% endblock %}
diff --git a/templates/product/show.html.twig b/templates/product/show.html.twig
new file mode 100755
index 00000000..29d39258
--- /dev/null
+++ b/templates/product/show.html.twig
@@ -0,0 +1,47 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Product
+
+
+
+
+ Id |
+ {{ product.id }} |
+
+
+ Name |
+ {{ product.name }} |
+
+
+ Image |
+ {{ product.image }} |
+
+
+ Price |
+ {{ product.price }} |
+
+
+ Comment |
+ {{ product.comment }} |
+
+
+
+
+
+{% endblock %}
diff --git a/templates/product/test.html.twig b/templates/product/test.html.twig
new file mode 100755
index 00000000..1ea94fc8
--- /dev/null
+++ b/templates/product/test.html.twig
@@ -0,0 +1 @@
+essai qui marche
diff --git a/templates/productcategory/edit.html.twig b/templates/productcategory/edit.html.twig
new file mode 100755
index 00000000..a9f755be
--- /dev/null
+++ b/templates/productcategory/edit.html.twig
@@ -0,0 +1,41 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Catégorie {{ productCategory.name }}
+
+
+
+ {{ form_start(edit_form) }}
+ {{ form_widget(edit_form) }}
+
+ {{ form_end(edit_form) }}
+
+
+
+
+
{{ productCategory.products|length }} Produits associés
+
+
+
+
+
+
+{% endblock %}
diff --git a/templates/productcategory/index.html.twig b/templates/productcategory/index.html.twig
new file mode 100755
index 00000000..0a7b23d5
--- /dev/null
+++ b/templates/productcategory/index.html.twig
@@ -0,0 +1,49 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
+
+
Catégorie de produit
+
+
+
+
+
+
+
Nouvelle catégorie
+{% endblock %}
diff --git a/templates/productcategory/new.html.twig b/templates/productcategory/new.html.twig
new file mode 100755
index 00000000..770834c5
--- /dev/null
+++ b/templates/productcategory/new.html.twig
@@ -0,0 +1,16 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Création de catégorie de produit
+
+ {{ form_start(form) }}
+ {{ form_widget(form) }}
+
+ {{ form_end(form) }}
+
+
+{% endblock %}
diff --git a/templates/productcategory/show.html.twig b/templates/productcategory/show.html.twig
new file mode 100755
index 00000000..8ea3e392
--- /dev/null
+++ b/templates/productcategory/show.html.twig
@@ -0,0 +1,32 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Productcategory
+
+
+
+
+ Id |
+ {{ productCategory.id }} |
+
+
+ Name |
+ {{ productCategory.name }} |
+
+
+
+
+
+{% endblock %}
diff --git a/templates/sellrecord/edit.html.twig b/templates/sellrecord/edit.html.twig
new file mode 100755
index 00000000..e8152760
--- /dev/null
+++ b/templates/sellrecord/edit.html.twig
@@ -0,0 +1,21 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Sellrecord edit
+
+ {{ form_start(edit_form) }}
+ {{ form_widget(edit_form) }}
+
+ {{ form_end(edit_form) }}
+
+
+{% endblock %}
diff --git a/templates/sellrecord/index.html.twig b/templates/sellrecord/index.html.twig
new file mode 100755
index 00000000..bb55f89c
--- /dev/null
+++ b/templates/sellrecord/index.html.twig
@@ -0,0 +1,54 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
+
+
Enregistrements de ventes
+
+
+
+
+
+
+
+
+
+ Date |
+ Actions |
+
+
+
+ {% for sellRecord in sellRecords %}
+
+
+ {{ sellRecord.date }}
+ |
+
+
+ |
+
+ {% endfor %}
+
+
+
+
+{% endblock %}
diff --git a/templates/sellrecord/new.html.twig b/templates/sellrecord/new.html.twig
new file mode 100755
index 00000000..d8d163ff
--- /dev/null
+++ b/templates/sellrecord/new.html.twig
@@ -0,0 +1,19 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Sellrecord creation
+
+ {{ form_start(form) }}
+ {{ form_widget(form) }}
+
+ {{ form_end(form) }}
+
+
+{% endblock %}
diff --git a/templates/sellrecord/show.html.twig b/templates/sellrecord/show.html.twig
new file mode 100755
index 00000000..ae890ebf
--- /dev/null
+++ b/templates/sellrecord/show.html.twig
@@ -0,0 +1,31 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Sellrecord
+
+
+
+
+ Date |
+ {% if sellRecord.date %}{{ sellRecord.date|date('Y-m-d H:i:s') }}{% endif %} |
+
+
+
+
+
+{% endblock %}
diff --git a/templates/seriefestival/edit.html.twig b/templates/seriefestival/edit.html.twig
new file mode 100755
index 00000000..9c3f575a
--- /dev/null
+++ b/templates/seriefestival/edit.html.twig
@@ -0,0 +1,21 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Seriefestival edit
+
+ {{ form_start(edit_form) }}
+ {{ form_widget(edit_form) }}
+
+ {{ form_end(edit_form) }}
+
+
+{% endblock %}
diff --git a/templates/seriefestival/index.html.twig b/templates/seriefestival/index.html.twig
new file mode 100755
index 00000000..d76570ee
--- /dev/null
+++ b/templates/seriefestival/index.html.twig
@@ -0,0 +1,55 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
+
+
Série de Festivals
+
+ une série de festival vous permet d'obtenir des statistiques sur plusieurs évènements à la fois. et de comparer
+ des coûts et bénéfices d'une édition à une autre.
+
+
+
+
+
+
+
+
+ Id |
+ Name |
+ Datecreation |
+ Actions |
+
+
+
+ {% for serieFestival in serieFestivals %}
+
+
+ {{ serieFestival.id }}
+ |
+ {{ serieFestival.name }} |
+ {% if serieFestival.dateCreation %}{{ serieFestival.dateCreation|date('Y-m-d H:i:s') }}{% endif %} |
+
+
+ |
+
+ {% endfor %}
+
+
+
+
+{% endblock %}
diff --git a/templates/seriefestival/new.html.twig b/templates/seriefestival/new.html.twig
new file mode 100755
index 00000000..ac0b7e51
--- /dev/null
+++ b/templates/seriefestival/new.html.twig
@@ -0,0 +1,16 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Création de série de festival
+
+ {{ form_start(form) }}
+ {{ form_widget(form) }}
+
+ {{ form_end(form) }}
+
+
+{% endblock %}
diff --git a/templates/seriefestival/show.html.twig b/templates/seriefestival/show.html.twig
new file mode 100755
index 00000000..604ecd06
--- /dev/null
+++ b/templates/seriefestival/show.html.twig
@@ -0,0 +1,36 @@
+{% extends 'base.html.twig' %}
+
+{% block body %}
+
Seriefestival
+
+
+
+
+ Id |
+ {{ serieFestival.id }} |
+
+
+ Name |
+ {{ serieFestival.name }} |
+
+
+ Datecreation |
+ {% if serieFestival.dateCreation %}{{ serieFestival.dateCreation|date('Y-m-d H:i:s') }}{% endif %} |
+
+
+
+
+
+{% endblock %}
diff --git a/var/log/dev.log b/var/log/dev.log
index 45c95280..a1e1c871 100644
--- a/var/log/dev.log
+++ b/var/log/dev.log
@@ -517,3 +517,29 @@
[2023-06-23T11:50:47.671060+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-23T11:50:47.672040+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-23T11:50:48.099079+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"81796b"},"request_uri":"https://127.0.0.1:8000/_wdt/81796b","method":"GET"} []
+[2023-06-23T11:56:16.963061+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
+[2023-06-23T11:56:16.964976+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
+[2023-06-23T11:56:16.974985+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "Variable "controller_name" does not exist." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig line 12 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): Variable \"controller_name\" does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig:12)"} []
+[2023-06-23T11:56:17.326686+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"612860"},"request_uri":"https://127.0.0.1:8000/_wdt/612860","method":"GET"} []
+[2023-06-23T11:56:52.526544+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
+[2023-06-23T11:56:52.528498+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
+[2023-06-23T11:56:52.535388+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "Variable "controller_name" does not exist." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig line 12 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): Variable \"controller_name\" does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig:12)"} []
+[2023-06-23T11:56:52.907545+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"5634d5"},"request_uri":"https://127.0.0.1:8000/_wdt/5634d5","method":"GET"} []
+[2023-06-23T11:57:27.178988+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
+[2023-06-23T11:57:27.180286+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
+[2023-06-23T11:57:27.199344+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
+[2023-06-23T11:57:27.199433+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
+[2023-06-23T11:57:27.338470+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "Variable "controller_name" does not exist." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig line 12 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): Variable \"controller_name\" does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig:12)"} []
+[2023-06-23T11:57:27.338695+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "Variable "controller_name" does not exist." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig line 12 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): Variable \"controller_name\" does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig:12)"} []
+[2023-06-23T11:57:27.784345+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"267a88"},"request_uri":"https://127.0.0.1:8000/_wdt/267a88","method":"GET"} []
+[2023-06-23T11:57:41.951170+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
+[2023-06-23T11:57:41.969549+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
+[2023-06-23T11:57:42.199488+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "fos_user_security_login" as such route does not exist.")." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/login-choices.html.twig line 170 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Unable to generate a URL for the named route \"fos_user_security_login\" as such route does not exist.\"). at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/login-choices.html.twig:170)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\RouteNotFoundException(code: 0): Unable to generate a URL for the named route \"fos_user_security_login\" as such route does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/routing/Generator/CompiledUrlGenerator.php:50)"} []
+[2023-06-23T11:57:42.962509+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"8cc76c"},"request_uri":"https://127.0.0.1:8000/_wdt/8cc76c","method":"GET"} []
+[2023-06-23T12:02:27.630769+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
+[2023-06-23T12:02:27.631586+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
+[2023-06-23T12:02:27.708907+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "dashboard" as such route does not exist.")." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/main-screen.html.twig line 58 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Unable to generate a URL for the named route \"dashboard\" as such route does not exist.\"). at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/main-screen.html.twig:58)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\RouteNotFoundException(code: 0): Unable to generate a URL for the named route \"dashboard\" as such route does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/routing/Generator/CompiledUrlGenerator.php:50)"} []
+[2023-06-23T12:02:28.154179+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"7bfe3e"},"request_uri":"https://127.0.0.1:8000/_wdt/7bfe3e","method":"GET"} []
+[2023-06-23T12:03:06.672001+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
+[2023-06-23T12:03:06.673134+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
+[2023-06-23T12:03:07.308693+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"a99044"},"request_uri":"https://127.0.0.1:8000/_wdt/a99044","method":"GET"} []