michaelschal
|
be78e1497c
|
Ensure sales are recorded to the correct store based on user selection
Fixes sales creation logic to correctly send storeId and updates admin role check.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/mXpFFH6
|
2025-07-19 16:48:28 +00:00 |
|
michaelschal
|
bc632890e5
|
Refine display of ticket photo label for a more polished interface
Removes the "(optionnel)" text from the ticket photo label in `NewSaleFormMulti.tsx` and updates `replit.md`.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/Rb1L0tF
|
2025-07-19 13:35:52 +00:00 |
|
michaelschal
|
b28291496c
|
Set the default quantity of products sold to one during sales entry
Sets default value of 'quantite' field to "1" in NewSaleForm.tsx and NewSaleFormMulti.tsx components.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/Rb1L0tF
|
2025-07-19 13:34:01 +00:00 |
|
michaelschal
|
ba643b557a
|
Improve photo capture process with error handling and browser support
Implement enhanced camera access with browser compatibility checks and error handling in useSimpleCamera hook and NewSaleFormMulti component.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/N4gXSMv
|
2025-07-19 13:20:11 +00:00 |
|
michaelschal
|
ae1fd208c2
|
Saved your changes before starting work
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
|
2025-07-19 13:16:10 +00:00 |
|
michaelschal
|
3891ae828b
|
Enable recording of multiple products in each fireworks sale registry
Refactors NewSaleForm to handle an array of products, and removes NewSaleFormMulti.
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/4xOaQU9
|
2025-07-19 12:12:15 +00:00 |
|
michaelschal
|
e91b8f1a8b
|
Enable support for multiple products within a single sale
Implements multi-product sales functionality by adding a `sale_products` table, updating the sales form, and modifying server-side logic.
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/58t7aEc
|
2025-07-19 10:10:41 +00:00 |
|