Commit Graph

14 Commits

Author SHA1 Message Date
Quality App System
5a423b3704 Add Set Boxes Locations page with status management and remove company branding from labels
- Renamed Store Articles card to Set Boxes Locations on warehouse main page
- Created new mobile-optimized page with two tabs for box location management:
  - Tab 1: Assign box to location (scan box, change status to closed, assign location)
  - Tab 2: Move box from location (scan location, list boxes, move to new location)
- Added box status management (open/closed) with status change button
- Enforced rule: only closed boxes can be assigned to locations
- Moved API logic to warehouse.py module:
  - search_box_by_number()
  - assign_box_to_location()
  - search_location_with_boxes()
  - move_box_to_new_location()
  - change_box_status()
- Added API routes in routes.py as thin wrappers
- Aligned page theme colors with application Bootstrap theme
- Added dark mode support for the new page
- Added Warehouse Main button to page header
- Removed 'INNOFA ROMANIA SRL' branding from:
  - Print module label preview and PDF generation
  - Print lost labels page
  - pdf_generator.py PDF creation function
2025-12-27 19:47:32 +02:00
Quality App System
9a2e21796e Implement professional PDF-based label printing for boxes and locations
- Replace ZPL/image-based printing with ReportLab PDF generation
- Box labels: 8cm x 5cm landscape with 'BOX Nr:' header and CODE128 barcode
- Location labels: 8cm x 5cm landscape with 'Location nr:' header and CODE128 barcode
- Add /generate_box_label_pdf endpoint using same approach as print_module
- Update FG scan quick box creation to use PDF printing with default printer
- Switch from CDN QZ Tray to local patched version for pairing-key auth
- Improve error handling and logging throughout printing workflow
- Fix import issues (add mm unit to warehouse.py)
- Optimize barcode size and spacing for better readability
2025-12-26 22:28:29 +02:00
Quality App Developer
a8824d6f69 updated code 2025-12-25 22:45:22 +02:00
ske087
1a3e26d86d updated to set boxes , and updated to fill boxes 2025-12-10 22:30:52 +02:00
ske087
c7f5203aa7 Add boxes/crates management system to warehouse module
- Created boxes_crates table with 8-digit auto-generated box numbers
- Added manage_boxes route and full CRUD operations
- Implemented box status tracking (open/closed)
- Added location assignment functionality
- Integrated QZ Tray printing with barcode labels
- Created manage_boxes.html with table, preview, and print features
- Added 'Manage Boxes/Crates' card to warehouse main page
- Boxes can be created without location and assigned later
- Includes delete functionality for admin/management roles
- Added box statistics display
2025-12-07 00:31:41 +02:00
ske087
f8209e0e0a updated to fix create location page 2025-12-06 23:29:23 +02:00
ske087
7912885046 User management and module improvements
- Added daily_mirror module to permissions system
- Fixed user module management - updates now work correctly
- Implemented dashboard module filtering based on user permissions
- Fixed warehouse create_locations page (config parser and delete)
- Implemented POST-Redirect-GET pattern to prevent duplicate entries
- Added application license system with validation middleware
- Cleaned up debug logging code
- Improved user module selection with fetch API instead of form submit
2025-11-29 14:16:36 +02:00
Quality System Admin
aaf6f2b32f updated database deployment and views 2025-10-12 00:22:45 +03:00
b0e17b69e7 lets add settings new to css 2025-10-09 00:34:52 +03:00
957c8eca4d moved to test environment 2025-10-05 14:32:47 -04:00
16641193de updated printing solutions 2025-10-05 09:29:37 +03:00
9fc32adb23 Role management, login logic, and debug improvements. MariaDB login now uses correct syntax. 2025-09-11 22:30:52 +03:00
b37c8bb58f saved the creation of warehows locations 2025-09-10 22:37:42 +03:00
a7e331aa38 UI and logic improvements for warehouse CSV import: permanent preview table, create locations button, card reordering, and CSV format guidance. 2025-09-10 21:48:33 +03:00