Add option to include and display a photo of the sales receipt

Implements `photoTicket` field in `Sale` and `FormData` types, adds UI elements in `NewSaleForm` and `SaleDetailsModal` components, and updates schema.ts.

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/7df9e24f-d78b-4589-9a08-c70e02d6d7d9.jpg
This commit is contained in:
michaelschal committed 2025-07-11 18:15:16 +00:00
1 parent e48337925c
commit 4f04428dea
5 files changed
+151 -38

No files matched your search

+4
View File
@@ -264,6 +264,10 @@ Preferred communication style: Simple, everyday language.
- ✅ Comprehensive error handling with specific messages for different failure types
- ✅ HTTPS requirement detection for secure camera access
- ✅ Multiple capture methods: camera → file upload for maximum compatibility
- ✅ Added receipt/ticket photo capture as third photo type alongside identity documents
- ✅ PayloadTooLargeError resolved by increasing server limit to 10MB for photo uploads
- ✅ Complete photo management system with separate sections for identity and receipt photos
- ✅ Enhanced SaleDetailsModal with organized photo display and download functionality
### Production Deployment System (January 11, 2025)
- ✅ Complete production deployment configuration with Docker Compose