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
This commit is contained in:
Quality App System
2025-12-27 19:47:32 +02:00
parent 9a2e21796e
commit 5a423b3704
9 changed files with 1481 additions and 14 deletions

View File

@@ -118,5 +118,11 @@
"size": 539493,
"timestamp": "2025-11-22T03:00:00.182628",
"database": "trasabilitate"
},
{
"filename": "data_only_scheduled_20251227_030000.sql",
"size": 16038,
"timestamp": "2025-12-27T03:00:00.088164",
"database": "trasabilitate"
}
]