{% extends base_template %} {% load i18n %} {% block title %}{% trans "Loan setup" %}{% endblock %} {% block content %}

{% trans "Administration" %}

{% trans "Loan setup" %}

{% trans "Configure the stock location and status used while items are on loan." %}

{% trans "Plugin settings" %}

{% trans "Current configuration" %}

{% trans "On Loan location" %}
{% if loan_location %}{{ loan_location.pathstring }}{% else %}{% trans "Not configured" %}{% endif %}
{% trans "On Loan status" %}
{% if on_loan_status %}{{ on_loan_status.label }} ({% trans "key" %} {{ on_loan_status.key }}, {% trans "logical" %} {{ on_loan_status.logical_key }}){% else %}{% trans "Not configured" %}{% endif %}
{% trans "Stock lock" %}
{% trans "Loaned items cannot be moved, edited, deleted or allocated through normal InvenTree flows." %}
{% if not loan_location or not on_loan_status %} {% else %}
{% trans "Setup is complete." %}
{% endif %}

{% trans "Run or repair setup" %}

{% trans "This is idempotent and safe to run again." %}

{% csrf_token %}

{% trans "What setup does" %}

  • {% trans "Creates a custom stock status with the logical value Quarantined, labelled On Loan." %}
  • {% trans "Creates or selects a non-structural stock location." %}
  • {% trans "Saves the location in the plugin settings." %}

{% trans "The custom status is what makes an item unavailable. The location keeps the stock history and return path clear." %}

{% endblock %}