{% extends 'base.html' %} {% block content %}
| Date | Description | Credit (Payable) | Debit (Paid) | Balance | Actions |
|---|---|---|---|---|---|
| {{ farm.created_at.date() if farm.created_at else 'N/A' }} | Opening Balance ({{ opening_balance_type|upper }}) | {% if opening_balance_type == 'credit' %}{{ opening_balance_amount|currency }}{% else %}-{% endif %} | {% if opening_balance_type == 'debit' %}{{ opening_balance_amount|currency }}{% else %}-{% endif %} | {{ running_balance|currency }} | - |
| {{ e.date }} | {{ e.description }} | {{ e.credit|currency }} | {{ e.debit|currency }} | {{ running_balance|currency }} | {% if e.debit and e.debit > 0 and not e.purchase_id %} {% elif e.credit and e.credit > 0 and e.purchase_id %} ✏️ Edit {% else %} - {% endif %} |
| No entries yet. | |||||
| Payable Balance | {{ balance|currency }} | ||||