mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-11 17:29:48 +02:00
Add capture of cash register receipt image to the new sales submission form
Implement 'photoTicket' field in NewSaleForm.tsx to capture cash register receipt images during sales creation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/550c2a92-8c6d-4d21-995a-767c76be93c9.jpg
This commit is contained in:
1 parent
dab91201ff
commit
25d275dfea
1 file changed
+2
@@ -166,12 +166,14 @@ export default function NewSaleForm() {
|
||||
prenom: data.prenom,
|
||||
dateNaissance: data.dateNaissance,
|
||||
lieuNaissance: data.lieuNaissance,
|
||||
modePaiement: data.modePaiement,
|
||||
typeIdentite: data.typeIdentite,
|
||||
numeroIdentite: data.numeroIdentite,
|
||||
autoriteDelivrance: data.autoriteDelivrance,
|
||||
dateDelivrance: data.dateDelivrance,
|
||||
photoRecto: data.photoRecto,
|
||||
photoVerso: data.photoVerso,
|
||||
photoTicket: data.photoTicket,
|
||||
};
|
||||
|
||||
await createSaleMutation.mutateAsync(saleData);
|
||||
|
||||
Reference in new issue
Block a user