Mark identity and receipt photos as optional on the new sales form

Update NewSaleForm.tsx and replit.md to reflect optional identity and receipt photos.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e80fed01-7137-4997-b9af-dad57132d430
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/e80fed01-7137-4997-b9af-dad57132d430/YqEkTym
This commit is contained in:
michaelschal committed 2025-07-19 12:27:59 +00:00
1 parent b2ee16b1c3
commit 76d47c72c7
2 files changed
+11 -2

No files matched your search

+4 -2
View File
@@ -644,7 +644,8 @@ export default function NewSaleForm() {
{/* Section Photos */}
<div className="mt-6 space-y-4">
<div>
<h4 className="text-sm font-medium text-gray-700">Photos de la pièce d'identité</h4>
<h4 className="text-sm font-medium text-gray-700">Photos de la pièce d'identité (optionnel)</h4>
<p className="text-xs text-gray-500 mt-1">Les photos d'identité ne sont pas obligatoires</p>
</div>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
@@ -755,7 +756,8 @@ export default function NewSaleForm() {
{/* Photo Ticket de caisse */}
<div className="mt-6 space-y-4">
<div>
<h4 className="text-sm font-medium text-gray-700">Photo du ticket de caisse</h4>
<h4 className="text-sm font-medium text-gray-700">Photo du ticket de caisse (optionnel)</h4>
<p className="text-xs text-gray-500 mt-1">La photo du ticket n'est pas obligatoire</p>
</div>
<div className="space-y-2">
+7
View File
@@ -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