Skip to content

Gestion de produits pour les devis#2216

Merged
Mopolo merged 6 commits into
afup:masterfrom
Mopolo:gestion-de-produits
May 11, 2026
Merged

Gestion de produits pour les devis#2216
Mopolo merged 6 commits into
afup:masterfrom
Mopolo:gestion-de-produits

Conversation

@Mopolo
Copy link
Copy Markdown
Contributor

@Mopolo Mopolo commented May 10, 2026

Cette PR ajoute une gestion basique de produits pour simplifier la création des devis.

C'est une vielle demande du pôle sponsors qui a été enfin rendue possible grâce à la refonte des devis dans la PR #2016 par @vgreb :)

CRUD de produits

image

Création d'une ligne à partir d'un produit

Du coup maintenant quand on créé un devis, il n'y a plus de ligne par défaut (pour éviter à chaque fois de devoir supprimer la vide pour en ajouter une à partir d'un produit).

image

Sélection

À la sélection d'un produit, les infos sont simplement copiées dans les champs en js (il n'y a pas de lien en base). Comme ça pas besoin de maintenir une longue liste de produits, il suffit de changer l'année et les prix selon les besoins.

image

(Cette PR remplace la #1903)

@Mopolo Mopolo self-assigned this May 10, 2026
@Mopolo Mopolo force-pushed the gestion-de-produits branch 2 times, most recently from 015c751 to 6c86380 Compare May 10, 2026 11:11
@Mopolo Mopolo marked this pull request as ready for review May 10, 2026 11:22
@Mopolo Mopolo requested review from agallou and stakovicz as code owners May 10, 2026 11:22
@Mopolo Mopolo requested a review from vgreb May 10, 2026 11:22
Comment thread db/migrations/20260508153741_create_compta_produit_table.php
Comment thread sources/AppBundle/Accounting/Form/ProduitType.php
Comment thread sources/AppBundle/Accounting/Form/ProduitType.php
Comment thread sources/AppBundle/Accounting/Form/ProduitType.php Outdated
Comment thread templates/admin/accounting/quotation/_javascript.html.twig
Comment thread templates/admin/accounting/quotation/form.html.twig Outdated
Comment thread sources/AppBundle/Accounting/Entity/Produit.php Outdated
Comment thread templates/admin/accounting/produit/list.html.twig Outdated
Comment thread templates/admin/accounting/produit/list.html.twig Outdated
@Mopolo Mopolo force-pushed the gestion-de-produits branch from 6c86380 to 48da038 Compare May 10, 2026 19:20
@Mopolo Mopolo requested a review from stakovicz May 11, 2026 15:53
@Mopolo Mopolo merged commit 8cbeee0 into afup:master May 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants