michaelschal
|
45283de6c6
|
Improve data handling and ensure database integrity for production deployment
Fixes image handling in Excel exports, corrects schema inconsistencies, and adds a SQL script for production data integrity verification.
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/6C2qH2a
|
2025-07-19 11:51:27 +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 |
|
michaelschal
|
afb7a90e0a
|
Update photo properties to ensure correct data flow between front and back
Refactor photo property names in `Sale` and `FormData` types to align with the database and API conventions.
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/34ee2cfd-a3a7-4fbf-9b2b-8de06d7b79b5.jpg
|
2025-07-13 10:42:35 +00:00 |
|
michaelschal
|
4f04428dea
|
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
|
2025-07-11 18:15:16 +00:00 |
|
michaelschal
|
fee34d6c4f
|
Remove manual date entry and automate timestamp for new sales records
Removes dateVente field from NewSaleForm, sale types, and shared schema.
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/fa7f08e0-2cf1-49d3-8250-af23db9cc3bd.jpg
|
2025-07-10 08:50:31 +00:00 |
|
michaelschal
|
0a84dec87a
|
Track payment method and generate sales history reports as PDF
Adds payment method tracking to sales and exports sales data to PDF using jsPDF and jspdf-autotable.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/bd1b8419-ee4f-46fd-822d-f546a9643613.jpg
|
2025-07-09 21:25:17 +00:00 |
|
michaelschal
|
973256f8d0
|
Require authority and date of issue for identity documents on sales form
Make 'autoriteDelivrance' and 'dateDelivrance' mandatory fields in NewSaleForm.tsx, sale.ts and validation.ts.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/efe87597-d535-4405-b5de-78081405fa4c.jpg
|
2025-07-09 18:14:47 +00:00 |
|
michaelschal
|
cddfee5d09
|
Require complete identity information and EAN13 code for each sale
Makes identity document information and EAN13 code mandatory in the `NewSaleForm.tsx`, updates validation in `validation.ts`, and adds `numeroIdentite` to `Sale` and `FormData` types.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/e098e07a-77c2-4cd4-a935-0bcff4db12bf.jpg
|
2025-07-09 18:11:09 +00:00 |
|
michaelschal
|
4fac1078a1
|
Create a new sales registry app with identity verification features
Initial commit of the React application with UI components, form, camera, and indexedDB integration for sale data management.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/02867739-9ff7-4441-aca2-12e0153376c5.jpg
|
2025-07-09 18:05:04 +00:00 |
|