{% extends "base.html" %} {% block title %}Expenses{% endblock %} {% block content %} {% if session.get('role') == 'admin' %}
| ID | Date | Reason | Amount | Payment Method | {% if session.get('role') == 'admin' %}Actions | {% endif %}
|---|---|---|---|---|---|
| #{{ e.id }} |
{{ e.date }}
|
{{ e.reason }} |
Rs. {{ "{:,.2f}".format(e.amount) }}
|
{% if e.payment_method == 'Cash' %}๐ต {% elif e.payment_method == 'Card' %}๐ณ {% elif e.payment_method == 'Bank' %}๐ฆ {% else %}๐ฑ{% endif %} {{ e.payment_method }} | {% if session.get('role') == 'admin' %}{% endif %} |
|
No expenses found
|
|||||