{% extends base_template %} {% load i18n %} {% block title %}{% trans "Loans" %}{% endblock %} {% block content %}
{% trans "Everything you have borrowed, with due dates and return status." %}
| {% trans "Loan" %} | {% if is_manager %}{% trans "Borrower" %} | {% endif %}{% trans "Items" %} | {% trans "Issued" %} | {% trans "Due" %} | {% trans "Status" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|
| {{ loan.reference }} | {% if is_manager %}{{ loan.borrower.get_full_name|default:loan.borrower.username }} | {% endif %}{{ loan.item_count }} | {{ loan.issued_at|date:"M j, Y" }} |
{{ loan.due_at|date:"M j, Y" }}
{% if loan.is_overdue %} {{ loan.days_overdue }} {% trans "days overdue" %} {% endif %}
|
{% include "inventree_loan/_status_badge.html" with status=loan.status label=loan.get_status_display %} | {% trans "View" %} {% if is_desk and loan.is_open %}{% trans "Return" %}{% endif %} |