{% 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 }} {{ fine.status }} {{ fine.assessed_at.strftime("%Y-%m-%d") }} {{ fine.note or "โ€”" }} {% if fine.status == "outstanding" %}
Waive
{% else %} {{ fine.status }} {% endif %}
{% else %}

No fines on record.

{% endif %} {% endblock %}