mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-14 18:57:29 +02:00
Require complete identity information and EAN13 code for each sale
Makes identity document information and EAN13 code mandatory in the `NewSaleForm.tsx`, updates validation in `validation.ts`, and adds `numeroIdentite` to `Sale` and `FormData` types. 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/e098e07a-77c2-4cd4-a935-0bcff4db12bf.jpg
This commit is contained in:
1 parent
4fac1078a1
commit
cddfee5d09
4 files changed
+39
-16
No files matched your search
@@ -10,16 +10,17 @@ export interface Sale {
|
||||
typeArticle: string;
|
||||
categorie: 'F2' | 'F3';
|
||||
quantite: number;
|
||||
gencode?: string;
|
||||
gencode: string;
|
||||
|
||||
// Client
|
||||
nom: string;
|
||||
prenom: string;
|
||||
dateNaissance?: string;
|
||||
dateNaissance: string;
|
||||
lieuNaissance?: string;
|
||||
|
||||
// Identité
|
||||
typeIdentite?: string;
|
||||
typeIdentite: string;
|
||||
numeroIdentite: string;
|
||||
autoriteDelivrance?: string;
|
||||
dateDelivrance?: string;
|
||||
|
||||
@@ -40,6 +41,7 @@ export interface FormData {
|
||||
dateNaissance: string;
|
||||
lieuNaissance: string;
|
||||
typeIdentite: string;
|
||||
numeroIdentite: string;
|
||||
autoriteDelivrance: string;
|
||||
dateDelivrance: string;
|
||||
photoRecto?: string;
|
||||
|
||||
Reference in new issue
Block a user