michaelschal
|
e48337925c
|
Improve photo handling and fix data transfer issues during sales recording
Removes the camera test button and increases the request size limit in Express to address PayloadTooLargeError.
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:11:37 +00:00 |
|
michaelschal
|
a6a188e68f
|
Implement basic camera feature to allow users to capture identity photos
Replaces `useCamera` with `useSimpleCamera` and introduces `SimpleCameraModal` for capturing photos.
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/9ada347d-ab83-40f0-9a0e-5fa4d829189e.jpg
|
2025-07-11 18:02:54 +00:00 |
|
michaelschal
|
97c6f3ec1e
|
Improve camera reliability and diagnose capture issues more effectively
Adds detailed logging and retry logic to address camera startup and dimension detection failures in CameraModal and useCamera.
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/eb403944-9342-469a-8dd7-95b8b1a1cf40.jpg
|
2025-07-11 17:55:49 +00:00 |
|
michaelschal
|
3ce27cfd4b
|
Improve camera access and troubleshooting for users on various devices
Enhances camera functionality by adding checks for browser compatibility, secure connection (HTTPS), device availability, file upload fallback, and a camera diagnostics test.
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/dde8c570-407a-4930-88c7-995e1ed77553.jpg
|
2025-07-11 17:02:48 +00:00 |
|
michaelschal
|
fbbe1375ab
|
Improve photo capture reliability and address camera access issues
Adds enhanced camera setup, error handling, and canvas drawing in `useCamera.tsx`, `CameraModal.tsx`, and `NewSaleForm.tsx`.
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/e6a2493b-9ed8-4bd8-be32-29049cc60fa3.jpg
|
2025-07-11 16:55:20 +00:00 |
|
michaelschal
|
9b0a09614a
|
Improve camera support and photo capture, especially on tablets
Enhance camera functionalities with improved constraints, fallbacks, UI, and error handling within CameraModal and useCamera hook.
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/dcf949f8-2931-4556-aa3c-e4bf61346ee3.jpg
|
2025-07-11 15:54:44 +00:00 |
|
michaelschal
|
8639adf4be
|
Allow capture of identity document photos directly within the new sale form
Implements camera functionality in NewSaleForm.tsx to capture recto/verso ID photos, storing them as photoRecto/photoVerso fields.
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/988a9bb7-9903-443d-8c9e-7773c87e8266.jpg
|
2025-07-11 15:38:37 +00:00 |
|
michaelschal
|
d7246ee187
|
Update product information to reflect current regulations and guidelines
Removes age restriction details and updates regulatory information in the NewSaleForm.tsx component.
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/2af9aba6-3ad1-4e12-8996-8924a1561d7e.jpg
|
2025-07-11 09:51:17 +00:00 |
|
michaelschal
|
1023b8bb9f
|
Include clear warnings about age restrictions for different fireworks categories
Add regulatory information about age restrictions for firework sales categories F1, F2, and F3 in NewSaleForm.tsx.
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/31627418-f098-472c-af03-835049cb92a4.jpg
|
2025-07-11 09:42:39 +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
|
71db65e5b5
|
Enhance user experience and interface of sales and dashboard sections
Refactor UI components in NewSaleForm.tsx, SalesHistory.tsx, index.css, validation.ts, and Dashboard.tsx for improved UX.
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/c74640af-aff6-4467-98ef-6922e186fed2.jpg
|
2025-07-10 08:33:18 +00:00 |
|
michaelschal
|
b2ac262871
|
Improve user experience by providing colored notifications for operations
Modify toast notifications to display success messages in green and errors in red using the "variant" property in Administration.tsx, NewSaleForm.tsx, and SalesHistory.tsx.
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/5aef45ab-dd7f-4d72-856e-de1c85394516.jpg
|
2025-07-10 00:11:56 +00:00 |
|
michaelschal
|
4333a9ae12
|
Enhance the look and feel of forms and data display for improved UI
Updates the styles of input fields, vendor sections, and filter cards to provide better visual consistency.
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/19d76f99-63e3-4717-987b-4fafe960e234.jpg
|
2025-07-10 00:07:10 +00:00 |
|
michaelschal
|
404b51e749
|
Improve the appearance and structure of the new sales registration page
Enhance the UI of NewSaleForm.tsx and index.css with improved styling and section demarcation.
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/e4b7aaf3-8a81-4637-b767-87169fd5dba1.jpg
|
2025-07-10 00:04:58 +00:00 |
|
michaelschal
|
1f34f22d0d
|
Modernize the user interface by removing rounded corners and edges
Applies modern-section, modern-card, and modern-input classes to SalesHistory and NewSaleForm components, replacing rounded UI elements with angular designs.
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/397ad6bf-35e7-450c-978f-cd41f37e25ff.jpg
|
2025-07-10 00:01:35 +00:00 |
|
michaelschal
|
1821f4feff
|
Modernize the user interface with a cleaner and more professional design
Refactors UI components to implement a modern, angular design with updated color scheme and styling in `NewSaleForm.tsx`, `Dashboard.tsx`, `Login.tsx` and `index.css`.
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/6a7de82e-d1f1-4ccf-baa2-a2d2d7172ac9.jpg
|
2025-07-09 23:58:08 +00:00 |
|
michaelschal
|
ec98d594f6
|
Simplify new sale form by removing the title and descriptive text
Remove the CardHeader component from NewSaleForm.tsx to streamline the interface.
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/9d9e1107-c416-4124-a939-a91c612c56a1.jpg
|
2025-07-09 23:46:36 +00:00 |
|
michaelschal
|
b7d93d264f
|
Require birthplace information when recording a new fireworks sale
Marked `lieuNaissance` as a required field in NewSaleForm and added validation.
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/9d9e1107-c416-4124-a939-a91c612c56a1.jpg
|
2025-07-09 23:45:19 +00:00 |
|
michaelschal
|
2ab9dbfc94
|
Improve the visibility of section labels and adjust logo placement
Refactors UI elements in `NewSaleForm.tsx` and `Dashboard.tsx` to enhance visual clarity and correct logo alignment issues.
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/eb6cb90a-d30e-48de-af01-ee5dec256e37.jpg
|
2025-07-09 21:38:40 +00:00 |
|
michaelschal
|
e52aaa289b
|
Improve visual layout and appearance of key elements on the platform
Adjusts the styling of the dashboard and new sale form for better icon visibility.
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/b77c9129-16e4-4c03-a447-09edfb2aa967.jpg
|
2025-07-09 21:34:18 +00:00 |
|
michaelschal
|
d3e263bf05
|
Enhance user interface with mobile optimizations and visual improvements
Adds CSS keyframes and mobile-first responsive utilities in index.css, adjusts styles in NewSaleForm.tsx and SaleDetailsModal.tsx and SalesHistory.tsx.
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/b77c9129-16e4-4c03-a447-09edfb2aa967.jpg
|
2025-07-09 21:32:33 +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
|
686512516d
|
Improve application layout and elements for use on different screen sizes
Adds CSS classes and updates component structures to enhance responsiveness.
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/44fdf252-fbbe-4731-95e0-abf005cc2ded.jpg
|
2025-07-09 19:58:38 +00:00 |
|
michaelschal
|
dce3aa6a44
|
Update rules describing which fireworks products are sold to adults
Updates the regulatory information in NewSaleForm.tsx to clarify fireworks categories and age restrictions.
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/75b569d4-1b21-43d8-b5b1-0816d59edebd.jpg
|
2025-07-09 19:42:11 +00:00 |
|
michaelschal
|
9a901b574f
|
Enhance the user interface to provide a more modern and intuitive experience
Update UI components for improved aesthetics and user experience, including new color palettes and styling.
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/75b569d4-1b21-43d8-b5b1-0816d59edebd.jpg
|
2025-07-09 19:38:37 +00:00 |
|
michaelschal
|
b71148da46
|
Make sales history update reliably after adding or removing sales
Invalidate all sales queries instead of exact matches and handle missing store ID.
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/aec99dd8-53a6-474d-8bf0-cdc42edf20c7.jpg
|
2025-07-09 19:06:34 +00:00 |
|
michaelschal
|
4384818f63
|
Enable store selection for admins and associate sales with specific stores
Implements store selection and association functionality using useStoreContext hook and updates sale creation and retrieval APIs.
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/d304bad8-e4eb-4558-b9d6-38704ba052e8.jpg
|
2025-07-09 19:04:37 +00:00 |
|
michaelschal
|
462ebeb816
|
Improve data fetching and handling for sales information on the platform
Updates `useQuery` hooks to explicitly parse JSON responses for sales data.
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/ab880d72-1a34-4d36-b5be-9f44df85ed1a.jpg
|
2025-07-09 18:51:55 +00:00 |
|
michaelschal
|
5c01234fc4
|
Implement secure user authentication with role-based access control
Integrates user authentication using bcrypt, session management with PostgreSQL, and role-based access control for enhanced security and user 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/ab880d72-1a34-4d36-b5be-9f44df85ed1a.jpg
|
2025-07-09 18:44:20 +00:00 |
|
michaelschal
|
42b249e5b0
|
Improve form validation and guide users to fill out all the required fields
Updates form validation logic to allow zero quantity and adds quantity placeholder.
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/36c2c7b9-873e-432e-9d49-6ced2f07df49.jpg
|
2025-07-09 18:28:20 +00:00 |
|
michaelschal
|
2377483fd7
|
Show the save button at all times and improve form submission handling
Fixes button visibility and adds form submission debugging with console logs in NewSaleForm.tsx.
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/93c00a5b-c284-453f-b0ce-467e02b79bd7.jpg
|
2025-07-09 18:25:59 +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 |
|