{% extends "base.html" %} {% from "_macros.html" import status_pill, loan_pill %} {% block title %}Item {{ item.barcode }} — {{ library_name() }}{% endblock %} {% block content %}

{{ item.work.title }}

Item {{ item.barcode }}

{% if message %}

{{ message }}

{% endif %} {% if error %}

{{ error }}

{% endif %}
Status
{{ status_pill(item.status) }}
Loanable
{% if item.is_loanable %} Yes {% else %} No   {{ loan_pill(item) }} {% if item.loan_restriction_note %}
{{ item.loan_restriction_note }} {% endif %} {% endif %} {% if has_permission(user, 'item.edit') and item.status != "withdrawn" %} Change {% endif %}
Barcode
{{ item.barcode }}
Accession #
{{ item.accession_number }}
{% if item.call_number %}
Call #
{{ item.call_number }}
{% endif %} {% if item.location %}
Location
{{ item.location }}
{% endif %} {% if item.condition %}
Condition
{{ item.condition }}
{% endif %}
Branch
{{ item.branch.name }}
Added
{{ item.created_at.strftime("%Y-%m-%d") }}
← Back to work {% if has_permission(user, 'item.edit') %} Edit {% endif %} {% if user and ("*" in user.role.permissions or "item.delete" in user.role.permissions) and item.status != "withdrawn" %} Withdraw {% endif %} {% if has_permission(user, 'fine.manage') %}

Lost / damaged

Declaring lost or damaged will close any active loan, cancel pending holds, and assess the appropriate fee.

{% if item.status != "lost" and item.status != "withdrawn" %} Declare lost {% endif %} {% if item.status != "damaged" and item.status != "withdrawn" %} Mark damaged {% endif %} {% if item.status == "damaged" %}
{% endif %} {% if item.status == "lost" %}
{% endif %} {% endif %} {% if item.status == "claims_returned" and has_permission(user, 'loan.checkin') %}

Claims-returned — resolve

A patron asserted this item was returned. Choose how to resolve:

Verify returned (found) Write off Declare lost {% endif %} {% if has_permission(user, 'item.view') %}

Notes & history

{% if note_entries %} {% for n in note_entries %} {% endfor %}
DateKindNoteBy
{{ (n.event_date or n.created_at.date()).strftime("%Y-%m-%d") }} {{ n.kind }} {{ n.note }} {{ n.actor_label or (n.author.username if n.author else "system") }} {% if not n.is_system and has_permission(user, 'item.edit') %}
{% endif %}
{% else %}

No notes yet.

{% endif %} {% if has_permission(user, 'item.edit') %}
Add a note
{% endif %} {% endif %} {% if has_permission(user, 'loan.view.any') %}

Loan history

{% if loan_history %} {% for loan in loan_history %} {% endfor %}
PatronChecked outDueReturnedRenewals
{{ loan.patron.full_name }}
{{ loan.patron.library_card_number }}
{{ loan.checked_out_at.strftime("%Y-%m-%d") }} {{ loan.due_at.strftime("%Y-%m-%d") }} {{ loan.returned_at.strftime("%Y-%m-%d") if loan.returned_at else "—" }} {{ loan.renewal_count }}
Showing up to 25 most recent loans. {% else %}

This copy has no loan history.

{% endif %} {% endif %} {% endblock %}