{% extends edc_base_template %} {% load static %} {% block main %} {{ block.super }}
{% if not stock_transfer %}
Pharmacy home > Confirm transferred stock
Confirm transferred stock
{% if entry_form.non_field_errors %}
{{ entry_form.non_field_errors }}
{% endif %}
{% csrf_token %}
{{ entry_form.location }} {% if entry_form.location.errors %}
{{ entry_form.location.errors }}
{% endif %}
{# Render server-side so options survive a form-error redisplay. #} {# JS in extra-scripts-bottom still repopulates on Location change. #} {{ prefilled_transfers|json_script:"prefilled-transfers-data" }} {% if entry_form.stock_transfer_identifier.errors %}
{{ entry_form.stock_transfer_identifier.errors }}
{% endif %}
{{ entry_form.number_of_items }} Select a reference to see how many items remain on the manifest. {% if entry_form.number_of_items.errors %}
{{ entry_form.number_of_items.errors }}
{% endif %}
{% else %}
Pharmacy home > {{ location|default:"Location" }}
Confirm transferred stock: {{ stock_transfer }}
{% if not item_count %}All done!{% endif %} {% if items_to_scan and item_count %}

Scan page: {{ item_count|length }} input(s) shown; {{ items_to_scan }} item(s) remaining in this workflow.

{% endif %}
{% csrf_token %}
{% for i in item_count %}
{% endfor %}
 
Last scanned ({{ last_scanned_count|default:0 }})
{% if last_codes %} {% for code, comment in last_codes %} {% endfor %}
{% if comment == CONFIRMED %} {% elif comment == ALREADY_CONFIRMED %} {% elif comment == INVALID %} {% endif %} {{ code }} {{ comment }}
{% else %}

No scans yet

{% endif %}
{% endif %}
{% endblock main %} {% block extra-scripts-bottom %} {% endblock %}