{% extends edc_base_template %} {% load static %} {% block main %} {{ block.super }}
Edc PharmacyStock Take › Results
Stock Take Results — Bin {{ stock_take.storage_bin.bin_identifier }} · {{ stock_take.storage_bin.location.display_name|default:stock_take.storage_bin.location.name }} · {{ stock_take.stock_take_datetime|date:"d-M-Y H:i" }}
{{ stock_take.expected_count }}
Expected
{{ stock_take.scanned_count }}
Scanned
{{ stock_take.missing_count }}
Missing
{{ stock_take.unexpected_count }}
Unexpected
{# ── Missing ── #} {% if missing %}
Missing — registered in bin but not scanned ({{ missing|length }})
{% for item in missing %} {% endfor %}
Code Product Container Ledger
{% if item.stock %} {{ item.code }} {% else %} {{ item.code }} {% endif %} {{ item.stock.product.name|default:"—" }} {{ item.stock.container|default:"—" }} Ledger
{% endif %} {# ── Unexpected ── #} {% if unexpected %}
Unexpected — scanned but not registered in this bin ({{ unexpected|length }})
{% for item in unexpected %} {% endfor %}
Code Product Current bin / location Ledger
{% if item.stock %} {{ item.code }} {% else %} {{ item.code }} (not in system) {% endif %} {{ item.stock.product.name|default:"—" }} {% if item.stock %} {{ item.stock.location.display_name|default:"—" }} {% else %} — {% endif %} Ledger
{% endif %} {# ── Matched ── #} {% if matched %}
Matched — scanned and found in bin ({{ matched|length }})
{% for item in matched %} {% endfor %}
Code Product Container
{{ item.code }} {{ item.stock.product.name|default:"—" }} {{ item.stock.container|default:"—" }}
{% endif %} {% if not missing and not unexpected %}
All clear. Every item in the bin was accounted for.
{% endif %}

Redo stock take for this bin   All bins   Stock take records

{% endblock main %}