Require authority and date of issue for identity documents on sales form

Make 'autoriteDelivrance' and 'dateDelivrance' mandatory fields in NewSaleForm.tsx, sale.ts and validation.ts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/efe87597-d535-4405-b5de-78081405fa4c.jpg
This commit is contained in:
michaelschal committed 2025-07-09 18:14:47 +00:00
1 parent cddfee5d09
commit 973256f8d0
3 files changed
+9 -7

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@ export interface Sale {
// Identité
typeIdentite: string;
numeroIdentite: string;
autoriteDelivrance?: string;
dateDelivrance?: string;
autoriteDelivrance: string;
dateDelivrance: string;
// Photos
photoRecto?: string;