{% extends "base.html" %} {% block title %}Fines — {{ patron.full_name }}{% endblock %} {% block content %}

Fines — {{ patron.full_name }}

Card {{ patron.library_card_number }} · Outstanding {{ outstanding_cents | currency }}

{% if message %}

{{ message }}

{% endif %} {% if error %}

{{ error }}

{% endif %} {% if projections %}

Pending overdue projections

These active loans are currently overdue but haven't been booked as fines yet. Use the button below to materialize them for this patron.

{% for p in projections %} {% endfor %}
ItemDueProjected
{{ p.loan.item.work.title }} {{ p.loan.item.barcode }} {{ p.loan.due_at.strftime("%Y-%m-%d") }} {{ p.amount_cents | currency }}
{% endif %}

All fines

{% if fines %} {% for fine in fines %} {% endfor %}
ID Kind Amount Status Assessed Note Actions
#{{ fine.id }} {{ fine.kind | replace("_", " ") }} {{ fine.amount_cents | currency }} {% if fine.paid_cents and fine.status == "outstanding" %}
{{ fine.paid_cents | currency }} paid · {{ fine.balance_cents | currency }} remaining {% endif %}
{{ fine.status }} {{ fine.assessed_at.strftime("%Y-%m-%d") }} {{ fine.note or "—" }} {% if fine.status == "outstanding" %} Pay
Waive
{% else %} {{ fine.status }} {% endif %}
{% else %}

No fines on record.

{% endif %} {% endblock %}