{% extends "base.html" %} {% block title %}Cash Book{% endblock %} {% block content %} {% if session.get('role') == 'admin' %}
{{ "โœ๏ธ" if edit_row else "โž•" }}

{{ "Edit Transaction" if edit_row else "Add New Transaction" }}

{% if edit_row %} โŒ Cancel {% endif %}
{% endif %}
๐Ÿ”

Search & Filter Transactions

๐Ÿ”„ Clear All
๐Ÿ’ฐ

Cash Book Transactions

{% if session.get('role') == 'admin' %} {% endif %} {% for t in transactions %} {% if session.get('role') == 'admin' %} {% endif %} {% else %} {% endfor %}
ID Date Reason Amount Type Payment Method Done By Description BalanceActions
#{{ t.id }} {{ t.date }} {{ t.reason }} {{ "+" if t.type == 'credit' else "-" }} Rs. {{ "{:,.2f}".format(t.amount) }} {{ "๐Ÿ“ˆ" if t.type == 'credit' else "๐Ÿ“‰" }} {{ t.type.capitalize() }} {{ t.payment_method }} {{ t.payment_done_by }} {{ t.description or "โ€”" }} Rs. {{ "{:,.2f}".format(t.running_balance) }}
๐Ÿ“ญ

No transactions found

{% for t in transactions %}
Transaction #{{ t.id }} Rs. {{ "{:,.2f}".format(t.running_balance) }}
๐Ÿ“… Date: {{ t.date }}
๐Ÿ“ Reason: {{ t.reason }}
๐Ÿ’ฐ Amount: {{ "+" if t.type == 'credit' else "-" }} Rs. {{ "{:,.2f}".format(t.amount) }}
๐Ÿ”„ Type: {{ "๐Ÿ“ˆ" if t.type == 'credit' else "๐Ÿ“‰" }} {{ t.type.capitalize() }}
๐Ÿ’ณ Payment Method: {{ t.payment_method }}
๐Ÿ‘ค Done By: {{ t.payment_done_by }}
{% if t.description %}
๐Ÿ“„ Description: {{ t.description }}
{% endif %} {% if session.get('role') == 'admin' %} {% endif %}
{% else %}
๐Ÿ“ญ

No transactions found

{% endfor %}
{% endblock %}