Added Money System

This commit is contained in:
2026-01-22 19:25:25 +01:00
parent d5d0d5aaf4
commit bb5c3058b1
12 changed files with 703 additions and 266 deletions

Binary file not shown.

View File

@@ -97,6 +97,7 @@ model Adherent {
situation String? // Sélecteur à option
prescripteur String? // Sélecteur à option
facturation String? // Sélecteur à option
forfait String? // Sélecteur à option (formule avec prix par trajet)
commentaire String? // Texte libre
telephoneSecondaire String? // Téléphone secondaire
instructions String? // Instructions
@@ -111,6 +112,7 @@ model Trajet {
adresseDepart String // Adresse de départ
adresseArrivee String // Adresse d'arrivée
commentaire String? // Commentaire optionnel
instructions String? // Instructions pour le trajet
statut String @default("Planifié") // Planifié, En cours, Terminé, Annulé, Validé
archived Boolean @default(false) // Indique si le trajet est archivé
adherentId String // Référence à l'adhérent
@@ -177,7 +179,7 @@ model MessageFile {
model AdherentOption {
id String @id @default(cuid())
type String // "situation", "prescripteur", "facturation"
type String // "situation", "prescripteur", "facturation", "forfait"
value String // La valeur de l'option
order Int @default(0) // Ordre d'affichage
createdAt DateTime @default(now())