feat: Module Factures professionnel + corrections
1. Correction FactureView.java:
- getCreatePath() /factures/nouvelle -> /factures/nouveau
2. factures/nouveau.xhtml (393 lignes):
- 4 sections professionnelles
- Section 1: Informations générales
* Numéro auto-généré avec badge primary
* Statut (6 valeurs: BROUILLON, EMISE, PAYEE, IMPAYEE, EN_RETARD, ANNULEE)
* Type facture (STANDARD, ACOMPTE, SOLDE, AVOIR)
* Client, objet, dates (émission, échéance, paiement optionnel)
- Section 2: Détail facture
* Placeholder lignes de facturation (future)
- Section 3: Montants et totaux
* Montant HT, TVA 18%, TTC (calculés)
* Montant payé, montant restant (color-coded)
* Récapitulatif visuel 4 cards (HT, TVA, TTC, Restant)
* monetary-display component
- Section 4: Informations paiement
* Mode (VIREMENT, CHEQUE, ESPECES, CARTE, MOBILE_MONEY)
* Référence, conditions
- 3 boutons: Annuler, Brouillon, Émettre
- Validation complète client + serveur
- Responsive design
- Sens métier BTP facturation
✅ DRY respecté (composants réutilisables)
✅ Write Once, Use Anywhere
✅ UI/UX professionnel cohérent
✅ Métier BTP: factures, acomptes, avoirs
This commit is contained in:
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user