{% extends "pos/base.html" %} {% block content %}
Flow: {{ scope }} | Total checked: {{ total_checked }} | Total planned: {{ total_planned }} | Need reset: {{ total_affected }} | Preview limit: {{ preview_limit }}
{% if scope == "one" and not product_code %}| DB ID | Prod ID | Code | Name | Current Layers | Current Weighted Avg | New Layer (Target) | Status |
|---|---|---|---|---|---|---|---|
| {{ row.id }} | {{ row.prod_id }} | {{ row.product_code }} | {{ row.name }} |
Layers: {{ row.layers_count }} (active: {{ row.active_count }}) Total Qty: {{ row.current_total_qty }} Distinct Rates: {{ row.distinct_rates }} |
{{ row.current_weighted_avg }} |
Qty: {{ row.target_qty }} Rate: {{ row.new_rate }} |
{% if row.needs_reset %}
Reset needed {% if row.multi_layer %}Multiple active layers found. {% endif %} {% if row.qty_mismatch %}Qty mismatch vs present_stock. {% endif %} {% if row.zero_layers %}No active layer but stock exists. {% endif %} {% else %} Already single clean layer {% endif %} |
| No products found. | |||||||