{% load static i18n %} {% if receipt_type == "handout" %}{% trans "Handout receipt" %}{% elif receipt_type == "return" %}{% trans "Return receipt" %}{% else %}{% trans "Loan receipt" %}{% endif %} {{ loan.reference }}
{% trans "Back to loan" %}

{% trans "InvenTree Loan Manager" %}

{% if receipt_type == "handout" %}{% trans "Loan handout receipt" %}{% elif receipt_type == "return" %}{% trans "Loan return receipt" %}{% else %}{% trans "Loan receipt" %}{% endif %}

{{ loan.reference }}

{% trans "Scan the code to open the request details." %}

{% trans 'Request tracking QR code' %}

{% trans "Borrower" %}

{{ loan.borrower_display }}
{{ loan.borrower_email_display }}{% if loan.borrower_phone_display %}
{{ loan.borrower_phone_display }}{% endif %}

{% trans "Loan dates" %}

{% trans "Issued" %}: {{ loan.issued_at|date:"M j, Y H:i" }}
{% trans "Due" %}: {{ loan.due_at|date:"M j, Y H:i" }}
{% trans "Issued by" %}: {{ loan.issued_by|default:"—" }}

{% trans "Items" %}

{% for item in loan.items.all %} {% endfor %}
{% trans "Part" %}{% trans "Asset / serial" %}{% trans "Quantity" %}
{{ item.part.name }}{% if item.part.IPN %}
{{ item.part.IPN }}{% endif %}
{{ item.stock_item_display }}{% if item.stock_item.serial %}
{{ item.stock_item.serial }}{% endif %}
{{ item.quantity|floatformat:"-5" }}

{% trans "Return instructions" %}

{% trans "Please return all items to the loan desk by the due date. Bring this receipt or the QR code if possible." %}

{% if loan.notes %}

{% trans "Notes" %}: {{ loan.notes }}

{% endif %}
{% trans "Request signature" %} {% if loan.request.signature %}{% trans 'Request signature' %}{% endif %}
{% trans "Handout signature" %} {% if loan.signature_checkout %}{% trans 'Handout signature' %}{% endif %}
{% trans "Return signature" %} {% if loan.signature_return %}{% trans 'Return signature' %}{% endif %}