Files
quality_app/py_app/app/templates/main_page_warehouse.html
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

49 lines
1.9 KiB
HTML

{% extends "base.html" %}
{% block title %}Warehouse Module{% endblock %}
{% block content %}
<div class="warehouse-container">
<h1>Warehouse Module</h1>
<p>This is the page for managing warehouse operations.</p>
<!-- Row of evenly distributed cards -->
<div class="dashboard-container">
<!-- Card 1: Set Boxes Locations -->
<div class="dashboard-card">
<h3>Set Boxes Locations</h3>
<p>Add or update articles in the warehouse inventory.</p>
<a href="{{ url_for('main.store_articles') }}" class="btn">Go to Set Boxes Locations</a>
</div>
<!-- Card 2: Create Warehouse Locations -->
<div class="dashboard-card">
<h3>Create Warehouse Locations</h3>
<p>Define and manage storage locations in the warehouse.</p>
<a href="{{ url_for('warehouse.create_locations') }}" class="btn">Go to Locations</a>
</div>
<!-- Card 3: Manage Boxes/Crates -->
<div class="dashboard-card">
<h3>Manage Boxes/Crates</h3>
<p>Track and manage boxes and crates in the warehouse.</p>
<a href="{{ url_for('warehouse.manage_boxes') }}" class="btn">Go to Boxes</a>
</div>
<!-- Card 4: View Inventory -->
<div class="dashboard-card">
<h3>View Products/Boxes/Locations</h3>
<p>Search and view products, boxes, and their warehouse locations.</p>
<a href="{{ url_for('warehouse.warehouse_inventory') }}" class="btn">View Inventory</a>
</div>
<!-- Card 5: Warehouse Reports -->
<div class="dashboard-card">
<h3>Warehouse Reports</h3>
<p>View and export warehouse activity and inventory reports.</p>
<a href="{{ url_for('main.warehouse_reports') }}" class="btn">Go to Reports</a>
</div>
</div>
</div>
{% endblock %}