{% if not rows_by_location %}
All clear. No discrepancies found in the most recent stock take for any bin.
{% else %}
{% for location_name, rows in rows_by_location.items %}
{{ location_name }}
— {{ rows|length }} bin{{ rows|length|pluralize }} with discrepancies
{% for row in rows %}
Bin {{ row.bin.bin_identifier }}
· {{ row.bin.container }}
·
Stock take {{ row.stock_take.stock_take_datetime|date:"d-M-Y H:i" }}
Full results
Redo stock take
{% if row.missing %}
|
Missing ({{ row.missing|length }})
|
| Code |
Product |
{% for item in row.missing %}
{{ item.code }}
|
{{ item.stock.product.name|default:"—" }} |
{% endfor %}
{% endif %}
{% if row.unexpected %}
|
Unexpected ({{ row.unexpected|length }})
|
| Code |
Product |
{% for item in row.unexpected %}
{{ item.code }}
{% if not item.stock %}
(not in system)
{% endif %}
|
{{ item.stock.product.name|default:"—" }} |
{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
All bins