{% extends base_template %} {% load i18n %} {% block title %}{% trans "Hand out" %}{% endblock %} {% block content %}

{% trans "Loan desk" %}

{% trans "Hand out items" %}

{% trans "Scan items, confirm the borrower, and issue the loan." %}

{% trans "Active loans" %}
{% if not setup_configured %} {% endif %}
{% if selected_request %}

{% trans "Approved request" %}

{{ selected_request.reference }} · {{ selected_request.requester.get_full_name|default:selected_request.requester.username }}

{% trans "View request" %}
{% for line in selected_request.lines.all %} {% endfor %}
{% trans "Part" %}{% trans "Asset" %}{% trans "Qty" %}
{{ line.part.name }}{% if line.part.IPN %}
{{ line.part.IPN }}
{% endif %}
{% if line.stock_item %}{{ line.stock_item }}{% else %}{% trans "Auto-select available stock" %}{% endif %} {{ line.quantity|floatformat:"-5" }}

{% trans "The server selects available stock items for each line and locks them to this loan." %}

{% else %}

{% trans "Borrower" %}

{% trans "Search by username, name or email." %}

{% endif %}

{% trans "Add items" %}

{% trans "Scan a barcode or search the catalog." %}

{% if not selected_request %}
{% endif %}
{% endblock %}