{% load static %} {{ book.name }} - Report

{{ book.name }} - Transactions Report

{{ start_date|date:"M d, Y" }} to {{ end_date|date:"M d, Y" }}

Total Balance: {{ total_balance|floatformat:2 }} ৳

{% for t in transactions_with_running %} {% endfor %}
Date Type Amount Running Balance Note
{{ t.created_at|date:"M d, Y h:i A" }} {{ t.type|capfirst }} {% if t.type == 'deposit' %}+{% else %}-{% endif %}{{ t.amount|floatformat:2 }} {{ t.running_balance|floatformat:2 }} ৳ {{ t.note|default:"-" }}