michaelschal
bdeeced6c6
Include customer photos in exported sales records for better documentation
...
Fix: Corrected property names in DatabaseStorage to include customer photos in exports.
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/A6ZFmvr
2025-07-19 11:13:03 +00:00
michaelschal
a586798a5d
Provide users a detailed sales report in an easily accessible file
...
Implements sales data export to .xlsx format using the xlsx library and updates related dependencies.
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/uQbgywo
2025-07-19 11:11:15 +00:00
michaelschal
c3c1616e04
Display images of documents within sales histories in the PDF reports
...
Implements image embedding within jsPDF reports in SalesHistory.tsx, adding error handling and page breaks.
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/7byo1CD
2025-07-19 11:08:23 +00:00
michaelschal
a46a0c63a4
Enhance PDF export to include full sales information and improve layout
...
Modify SalesHistory component to include complete sales data in PDF export using jsPDF.
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/lMVWh0V
2025-07-19 11:03:35 +00:00
michaelschal
933ea44342
Improve sales data exports to include individual product details
...
Fixes the sales history and CSV exports to accurately represent each product within a sale.
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/KcImq5w
2025-07-19 10:39:08 +00:00
michaelschal
e3cd2f890c
Show all purchased products in the sales details and fixes missing sales
...
Implements `getAllSales` with grouped products and updates `SaleDetailsModal` to display multiple products.
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/MCw6J3V
2025-07-19 10:37:04 +00:00
michaelschal
2256a342ea
Add image to enhance document and ticket photo upload instructions
...
Adds image_1752921153443.png to the attached_assets directory.
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/wIYHD0z
2025-07-19 10:33:52 +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
54595e75df
Ensure the application runs correctly in the production environment
...
Fixes `import.meta.dirname` issue in Node.js 18 by patching `/app/dist/index.js` with `sed` in `docker-entrypoint-simple.sh`.
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/db75d429-4075-4348-b179-bb283fb6d9d3.jpg
2025-07-13 13:35:01 +00:00
michaelschal
5048b3b466
Improve deployment reliability by streamlining the application startup process
...
Updates the Dockerfile and entrypoint to remove Node.js 18 compatibility workaround and fixes cache corruption issues.
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/db75d429-4075-4348-b179-bb283fb6d9d3.jpg
2025-07-13 13:26:16 +00:00
michaelschal
0994a3282a
Add documentation to help users with the Docker installation process
...
Include image troubleshooting steps for Docker installation errors.
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/db75d429-4075-4348-b179-bb283fb6d9d3.jpg
2025-07-13 13:20:28 +00:00
michaelschal
816413c789
Add picture upload capabilities to the sales form for document attachments
...
Implements photo upload fields (recto, verso, ticket) in the NewSaleForm.tsx component.
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/db75d429-4075-4348-b179-bb283fb6d9d3.jpg
2025-07-13 13:17:25 +00:00
michaelschal
d1a3bfed23
Add reference image for improving photo upload guidance for users
...
Adds an example image to assist users in uploading compliant photos.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e80fed01-7137-4997-b9af-dad57132d430
2025-07-13 13:05:27 +00:00
michaelschal
04e8eea3bd
Restored to 'afb7a90e0a9fbf19dfd193a47ef6054a853fdd60'
...
Replit-Restored-To: afb7a90e0a
2025-07-13 13:04:02 +00:00
michaelschal
55fb5abd45
Connect application to external network for improved deployment flexibility
...
Removes the internal regisflow_network and configures the docker-compose.yml to use the external nginx_default network.
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/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 12:31:33 +00:00
michaelschal
a6d741fc53
Improve deployment setup by adding network configurations and production files
...
Adds Docker network configuration, production compose file, and documentation updates in replit.md.
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/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 12:23:55 +00:00
michaelschal
c041256bce
Update the application to use port 3000 across all services
...
Adjusts port configurations from 5000 to 3000 in .replit, Dockerfile, docker-compose.yml, replit.md and server/index.ts for consistent service deployment.
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/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 12:12:20 +00:00
michaelschal
39cc269d29
Improve application startup process and fix potential database issues
...
Refactors Dockerfile and entrypoint script for enhanced reliability, debugging, and single database migration.
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/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 12:02:30 +00:00
michaelschal
037e7e2e49
Improve application deployment and database connection reliability
...
Refactors Docker configuration and entrypoint script for robust PostgreSQL connectivity and health checks.
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/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 11:40:17 +00:00
michaelschal
766b451768
Improve the application's containerization and startup process
...
Refactors Dockerfile and entrypoint script for enhanced reliability and Node.js 18 compatibility, including database migration.
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/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
2025-07-13 11:34:45 +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
9016a564ec
Remove unnecessary deployment guides and scripts from the project
...
This commit removes obsolete deployment documentation, shell scripts, and backup files.
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/ce49b69a-6c08-46b0-9012-fdaae8591d14.jpg
2025-07-11 19:05:12 +00:00
michaelschal
9d973c12e4
Ensure photo capture and submission process is fully functional
...
Remove debug logs, update field mapping, and verify photo capture works correctly.
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/ce49b69a-6c08-46b0-9012-fdaae8591d14.jpg
2025-07-11 19:03:05 +00:00
michaelschal
6d6d8a128a
Add client-side logging to help debug issues with photo ticket submissions
...
Implements client-side console logs to debug photoTicket data in NewSaleForm.tsx during POST requests to the /api/sales endpoint.
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/4099a3be-c3a6-4039-915b-a1ce8a3727fa.jpg
2025-07-11 18:59:58 +00:00
michaelschal
58d24e0cfb
Add debugging information to track down missing sales ticket photos
...
Adds console logs to inspect request body and identify missing photoTicket data during sales creation.
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/4099a3be-c3a6-4039-915b-a1ce8a3727fa.jpg
2025-07-11 18:58:14 +00:00
michaelschal
f9e44b06bb
Improve the display of sale details in the information modal window
...
Refactors SaleDetailsModal.tsx to enhance the visual presentation with borders and spacing.
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/4099a3be-c3a6-4039-915b-a1ce8a3727fa.jpg
2025-07-11 18:52:54 +00:00
michaelschal
08e3258a32
Improve photo handling by ensuring images are correctly saved in the database
...
Removes debug logs and ensures correct mapping of photo data from request body to database columns.
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/e6f3a8c1-bdaf-4251-a9d4-9326e97ede4b.jpg
2025-07-11 18:49:16 +00:00
michaelschal
c532a2c946
Ensure receipt photos are properly saved when creating new sales records
...
Fix: Map camelCase photo names to snake_case in routes.ts for correct database storage.
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/183bde94-866e-4679-97fd-7df41a964b4d.jpg
2025-07-11 18:39:31 +00:00
michaelschal
25d275dfea
Add capture of cash register receipt image to the new sales submission form
...
Implement 'photoTicket' field in NewSaleForm.tsx to capture cash register receipt images during sales creation.
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/550c2a92-8c6d-4d21-995a-767c76be93c9.jpg
2025-07-11 18:34:43 +00:00
michaelschal
dab91201ff
Prepare the application for deployment with photo capture and sales details
...
Removes debug photo display and updates replit.md to reflect production readiness.
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/584bf76b-cd3a-45fb-a667-85c62de7fd5e.jpg
2025-07-11 18:31:11 +00:00
michaelschal
181945d6f5
Improve data display and correct date filtering in sales registry
...
Adds photo debug information and fixes date range filtering in the sales query using timestamps in `SaleDetailsModal.tsx` and `server/storage.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/584bf76b-cd3a-45fb-a667-85c62de7fd5e.jpg
2025-07-11 18:29:34 +00:00
michaelschal
bfdb9cf1fa
Update database schema to ensure consistency in data storage
...
Standardize naming conventions for photo fields in the sales table schema using Drizzle ORM.
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/e8963daf-6ce4-40c7-aab9-e1134317a31e.jpg
2025-07-11 18:28:15 +00:00
michaelschal
2265ddcf0a
Show the images in the sales history modal and correct date display
...
Fixes image display and date formatting issues in SaleDetailsModal.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/e8963daf-6ce4-40c7-aab9-e1134317a31e.jpg
2025-07-11 18:23:58 +00:00
michaelschal
9698bb835e
Add ticket photo feature and ensure application is production ready
...
Adds 'photo_ticket' column to the sales table in init.sql and implements a production readiness validation script.
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:16:38 +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
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
ed38c25c9f
Improve camera functionality and address issues with blank image display
...
Enhances CameraModal and useCamera hook with autoplay, error handling, and metadata checks to resolve blank image issues.
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/957e99ed-c3d1-4917-a66f-70911fc0ed4b.jpg
2025-07-11 17:51:04 +00:00
michaelschal
c426abfc33
Improve camera function to reliably capture photo with valid dimensions
...
Adds a dimension check with a timeout to `useCamera.tsx` to ensure the video stream is ready before capturing.
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/05f4db99-14a1-408b-902a-26488120fee2.jpg
2025-07-11 17:46:03 +00:00
michaelschal
8d2314b22d
Enable one-click deployment with validated production configurations
...
Adds Replit Deployment integration and validates production configurations.
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/7912c80e-aefe-4180-8ad6-c76c5a791f65.jpg
2025-07-11 17:42:11 +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
77d77ab658
Set up database initialization process using SQL scripts and Drizzle ORM
...
Adds init.sql and init-db.sh for database initialization, and enhances Docker setup.
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/438ba2d5-c119-4a74-9474-438eed8b3141.jpg
2025-07-11 16:01:42 +00:00
michaelschal
9cc28ddc93
Prepare the application for deployment to a production environment
...
Adds Docker Compose configuration, Nginx setup, and deployment scripts.
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/1668b635-4205-40d7-8634-6b7174d94d7b.jpg
2025-07-11 15:59:15 +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
a589c8b770
Enable users to download photos attached to sales records easily
...
Implement photo download functionality in SaleDetailsModal.tsx using a downloadPhoto function and the Download icon.
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/3a1a5de6-d311-4504-a90c-e46ce001fd4a.jpg
2025-07-11 15:40:31 +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
33262c73a8
Create an automatic backup of all application data for safe keeping
...
Adds a new file containing a JSON backup of users, stores, and sales data.
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 15:33:31 +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
6c8f06c153
Add new firework category to allow listing a new type of product
...
Adds "Fontaine" to ARTICLE_CATEGORY_MAPPING with associated type "F2" in `client/src/lib/validation.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/e8a2a1e9-170f-40e2-8907-120da22c7543.jpg
2025-07-11 09:39:33 +00:00
michaelschal
f7661a418d
Ensure application builds locally within Portainer, avoiding external image pulls
...
Configures Docker Compose to build the application image locally and prevents image downloads from Docker Hub.
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/e32734b8-3e86-4a0a-ad55-ba74cf7cf00c.jpg
2025-07-10 15:07:55 +00:00
michaelschal
d83e29270e
Update application deployment by creating a specific image for Portainer
...
Adds a script to build a Docker image named `regisflow-regisflow:latest` and updates `docker-compose.yml` to use this image.
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/9a3582f2-7e8e-486b-adcd-5ad43f38f699.jpg
2025-07-10 15:04:12 +00:00
michaelschal
501b9d5ec1
Use existing network to allow communication between containers
...
Configures docker-compose to use the existing external network "nginx_default" instead of creating a new bridge network.
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/bffd17dd-5606-4906-a45b-fdd9f0336d07.jpg
2025-07-10 15:01:42 +00:00
michaelschal
ba20759804
Streamline application deployment and simplify network configuration
...
Configures Docker Compose for image deployment and creates a dedicated bridge network.
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/bffd17dd-5606-4906-a45b-fdd9f0336d07.jpg
2025-07-10 15:00:43 +00:00
michaelschal
1b0ecc7b39
Automate application deployment using a simplified Portainer script
...
Adds a docker-compose file and deploy script for automated Portainer deployment.
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/6766644a-420b-4242-91df-d40e1146cc68.jpg
2025-07-10 15:00:06 +00:00
michaelschal
32042eb668
Enable application deployment by building directly from source code
...
Updates docker-compose and portainer-stack files to build the regisflow image and adds PORTAINER_SOLUTION.md, and portainer-build-stack.yml.
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/6766644a-420b-4242-91df-d40e1146cc68.jpg
2025-07-10 14:56:14 +00:00
michaelschal
61be21d06c
Enable easy deployment using Portainer and resolve image pull errors
...
Adds Portainer deployment configuration, scripts, and documentation, and fixes local image building.
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/c7544f27-893f-4348-971a-1d048c9a4d80.jpg
2025-07-10 14:53:40 +00:00
michaelschal
d8e5af6c77
Fixes Docker deployment by building the image locally for Portainer
...
Updates docker-compose.yml to use a locally built image and adds DOCKER_DEPLOYMENT.md and build-docker.sh for deployment instructions, along with a backup JSON file.
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/e3dd27f7-eb05-4352-b834-bf06ef42f3b7.jpg
2025-07-10 14:51:22 +00:00
michaelschal
28ca128ab6
Extend user session duration to improve the overall user experience
...
Removes `useSessionTimeout` hook and increases the session `maxAge` to 24 hours in `server/routes.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/0fcd8a07-209c-4438-b4c7-bd4229e22926.jpg
2025-07-10 09:52:12 +00:00
michaelschal
f828278efa
Implement automatic logout after inactivity and improve authentication
...
Adds session timeout functionality using `useSessionTimeout` hook and updates session maxAge to 15 minutes in server routes.
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/56f97713-69fd-41d1-b933-ff4440458da0.jpg
2025-07-10 09:51:34 +00:00
michaelschal
0db1bffa94
Prevent users from creating accounts with a blank email address
...
Handle empty email strings by setting them to null to avoid database constraint errors in `server/storage.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/56f97713-69fd-41d1-b933-ff4440458da0.jpg
2025-07-10 09:45:56 +00:00
michaelschal
db18a68ae6
Ensure input fields are always displayed with a clean white background
...
Adds CSS rules to force white backgrounds on input elements across sections.
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/2cf6faac-6516-4c7d-a662-00c8fdde30f5.jpg
2025-07-10 09:08:33 +00:00
michaelschal
8eb091c845
Improve the appearance of input fields by using a white background
...
Set the background color of input fields to white in 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/3acac8f9-456b-4987-85c6-2b9490ec8c0b.jpg
2025-07-10 09:00:35 +00:00
michaelschal
ee4591c125
Modernize the user interface by reducing rounded corners across the platform
...
Updates border-radius values in index.css for a more angular design and updates replit.md to reflect changes.
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/b11a2e40-a490-44b4-89fd-fb617b0622ec.jpg
2025-07-10 08:58:33 +00:00
michaelschal
d65ccfcadc
Change the style of the PDF export button to match other elements
...
Update className of the PDF export button in SalesHistory.tsx to `modern-button-secondary` for 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/21a454be-413a-4934-8745-041d5f8dbc78.jpg
2025-07-10 08:56:22 +00:00
michaelschal
ca9bb0b937
Give each section a distinct background color to improve user experience
...
Updates background colors for vendor, client, and identity sections in 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/b9fd7568-8dd5-4ecc-912f-2e0e0436cfe0.jpg
2025-07-10 08:55:11 +00:00
michaelschal
837df13f93
Improve the look of the new sale page with more visually appealing colors
...
Harmonizes background colors in New Sale form (index.css) and updates replit.md to reflect the UI changes.
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/a57458a0-f014-4f78-9cf2-914103a1fadf.jpg
2025-07-10 08:54:33 +00:00
michaelschal
f78ee9409a
Display the precise date and time in sales history for better tracking
...
Updates SalesHistory component to show date and time and includes timestamp in CSV export.
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/f6a714a9-67f2-4f1f-a39d-6d27dc316a57.jpg
2025-07-10 08:51:59 +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
c494735c8c
Use solid backgrounds on category sections for a cleaner, more modern look
...
Updates CSS to use solid background colors instead of gradients for section elements.
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/f8c208d1-a7dd-46e2-b7f9-f3b112ddab24.jpg
2025-07-10 08:46:26 +00:00
michaelschal
7057d3df23
Improve the visibility of category backgrounds throughout the application
...
Updates background colors in index.css for vendor, product, client, and identity sections to enhance visibility.
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/22671e62-b8cd-48e4-b8c7-41934de88541.jpg
2025-07-10 08:45:30 +00:00
michaelschal
c2041dbd83
Improve appearance of sales form by adding color and adjusting borders
...
Updates CSS to add background colors to sections and borders to buttons.
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/b39a7717-3ed7-4878-8c98-860b63e6a758.jpg
2025-07-10 08:44:27 +00:00
michaelschal
bf9c76b62c
Improve the visual appearance of the new sale form for better user experience
...
Enhance UI by adjusting section background colors, border sizes in index.css, and button styles, also update replit.md file.
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/ecc2b161-5a3c-4a56-be92-3bd912beb968.jpg
2025-07-10 08:42:53 +00:00
michaelschal
68e77c41c9
Improve the appearance of the website by refining visual borders
...
Adjusts border thicknesses and colors for cards, inputs, and sections in 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/18932cd2-02f9-400a-b8b1-fbac4ab060fd.jpg
2025-07-10 08:40:43 +00:00
michaelschal
a5d20db747
Improve visibility of input fields and section borders throughout the app
...
Enhance UI/UX by increasing border thicknesses and darkening colors of input fields and sections in 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/9ba8b033-161d-4888-81d6-a484ee533451.jpg
2025-07-10 08:39:53 +00:00
michaelschal
79b179f0ee
Improve the user interface and add CSV export to the sales history
...
Implements UI enhancements with visible section frames and adds CSV export functionality to SalesHistory.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/9ba8b033-161d-4888-81d6-a484ee533451.jpg
2025-07-10 08:36:51 +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
24386f2a60
Restored to 'f55e6a387855269f0f8c1e4b319f69132cd899ba'
...
Replit-Restored-To: f55e6a3878
2025-07-09 23:52:41 +00:00
michaelschal
9e19f1784b
Enhance user interface with a modern dashboard featuring key metrics
...
Implements a new dashboard layout with metrics using React Query for data fetching.
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/a5f8472c-884f-44bc-af1a-fe4a04a3c6aa.jpg
2025-07-09 23:52:15 +00:00
michaelschal
f55e6a3878
Add a unique icon so users can easily identify the site in their browser
...
Adds a favicon.svg to the client public directory and references it in index.html.
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:47:46 +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
778ad2eee8
Refine the new sale page by removing extra store details for clarity
...
Removes the selected store information display from the Dashboard.tsx component.
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:43:54 +00:00
michaelschal
98a9a98d1b
Improve admin user experience by showing all stores and removing store selection
...
Fixes admin store visibility and removes unnecessary store selection for admins.
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:27:52 +00:00
michaelschal
2194d5914e
Conditionally show store selector for user administration form
...
Removes the store selector from the user edit form when editing self, adding conditional rendering.
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:25:22 +00:00
michaelschal
4dbdda2071
Improve user editing, allowing admins access to all stores without assignment
...
Updates user editing logic to handle admin roles and store access, with schema changes.
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:23:51 +00:00
michaelschal
bedb7bd4cc
Prevent admin users from accidentally demoting themselves or the last admin
...
Implements server-side validation and updates client error messaging to prevent accidental role changes in `server/routes.ts` and `client/src/components/Administration.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/9d9e1107-c416-4124-a939-a91c612c56a1.jpg
2025-07-09 23:22:01 +00:00
michaelschal
f1b0cb07b7
Improve user role management with enhanced restrictions and messaging
...
Implement role update restrictions to prevent demoting self/last admin and add error messages.
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:14:51 +00:00
michaelschal
207b51c162
Add log analysis showing authentication flow and permission checks
...
Adds a log file showing Express.js API calls, authentication, and permission errors.
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/2c8fdf94-4b36-4c45-81d5-036b422d1515.jpg
2025-07-09 23:12:50 +00:00
michaelschal
ef0f4c1862
Configure the system to connect using the Nginx reverse proxy network
...
Updates the Docker configuration to use the `nginx_default` network and removes the custom `regisflow_network`.
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/2c8fdf94-4b36-4c45-81d5-036b422d1515.jpg
2025-07-09 23:09:07 +00:00
michaelschal
cce1722e83
Isolate application inside its own network for better security
...
Configures Docker Compose to use a dedicated `regisflow_network` for enhanced isolation of the application's services.
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/1a628c74-3aad-4182-a42f-aeae036e6dcf.jpg
2025-07-09 22:59:19 +00:00
michaelschal
b8252a4873
Update instructions for network configuration in Portainer
...
Improves network flexibility by removing IP pre-setting and simplifying network changes via Portainer using docker-compose.
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/1a628c74-3aad-4182-a42f-aeae036e6dcf.jpg
2025-07-09 22:58:01 +00:00
michaelschal
4048c4edd4
Enable configurable network settings for flexible deployment options
...
Allows users to customize the Docker network via environment variables and provides network configuration examples.
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/1a628c74-3aad-4182-a42f-aeae036e6dcf.jpg
2025-07-09 22:56:43 +00:00