diff --git a/client/src/components/NewSaleForm.tsx b/client/src/components/NewSaleForm.tsx index ea6e8eb..8dd97a5 100644 --- a/client/src/components/NewSaleForm.tsx +++ b/client/src/components/NewSaleForm.tsx @@ -644,7 +644,8 @@ export default function NewSaleForm() { {/* Section Photos */}
-

Photos de la pièce d'identité

+

Photos de la pièce d'identité (optionnel)

+

Les photos d'identité ne sont pas obligatoires

@@ -755,7 +756,8 @@ export default function NewSaleForm() { {/* Photo Ticket de caisse */}
-

Photo du ticket de caisse

+

Photo du ticket de caisse (optionnel)

+

La photo du ticket n'est pas obligatoire

diff --git a/replit.md b/replit.md index ea9b4c2..5f07219 100644 --- a/replit.md +++ b/replit.md @@ -325,6 +325,13 @@ Preferred communication style: Simple, everyday language. - ✅ **Data Integrity**: SQL format preserves all database structure, constraints, and relationships - ✅ **User Interface**: Updated backup management UI with SQL-specific messaging and file extensions +### Photo Requirements Optimization (January 19, 2025) +- ✅ **Optional Identity Photos**: Made identity document photos (recto/verso) optional as per user request +- ✅ **Optional Receipt Photos**: Clarified that receipt/ticket photos are also optional +- ✅ **UI Updates**: Updated form labels to clearly indicate photo fields are not mandatory +- ✅ **Validation Adjustment**: Photos no longer required for form submission compliance +- ✅ **User Experience**: Added explanatory text to reduce confusion about photo requirements + ### Docker Configuration & Cleanup (January 9, 2025) - ✅ Complete Docker setup optimized for external PostgreSQL database - ✅ Docker Compose configuration with RegisFlow application only