{% extends 'base.html' %} {% block content %}
Input Transaksi
{% if current_user.role in ['super_admin', 'admin'] %}
{% endif %}
Total Pemasukan
Rp {{ '{:,.0f}'.format(total_income).replace(',', '.') }}
Total Pengeluaran
Rp {{ '{:,.0f}'.format(total_expense).replace(',', '.') }}
Riwayat Transaksi
{% for row in transactions %} {% endfor %}
TanggalJenisSumberUnitNominalKeterangan
{{ row.trans_date }}{{ row.category }}{{ row.source_type }}{{ row.unit }}Rp {{ '{:,.0f}'.format(row.amount).replace(',', '.') }}{{ row.description }}
{% endblock %}