feat(p0): prix/nuit + booking form public + /inscription + /reservations/[id]
This commit is contained in:
parent
f09a680059
commit
e79b6dd141
15 changed files with 590 additions and 9 deletions
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TABLE "Carbet" ADD COLUMN "nightlyPrice" DECIMAL(10,2) NOT NULL DEFAULT 0;
|
||||
UPDATE "Carbet" SET "nightlyPrice" = 80 WHERE "nightlyPrice" = 0;
|
||||
|
|
@ -124,6 +124,8 @@ model Carbet {
|
|||
// Détails d'accès route pour ROAD_AND_RIVER (GPS, distance, type de piste).
|
||||
roadAccessNote String?
|
||||
capacity Int
|
||||
// Prix par nuit pour le carbet entier (toute capacité). En euros.
|
||||
nightlyPrice Decimal @db.Decimal(10, 2) @default(0)
|
||||
// Contraintes séjour (plugin min-stay). null = pas de contrainte.
|
||||
minStayNights Int?
|
||||
maxStayNights Int?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue