{# ─── PAYMENTS ─── #}
Payments
| Action |
payment_id |
total_amount |
amount_transaction (paid) |
date |
challan |
{% if plan.pay_keeper %}
| KEEP |
{{ plan.pay_keeper.payment_id }} |
{{ plan.pay_keeper.total_amount }} |
{{ plan.pay_keeper.amount_transaction }} |
{{ plan.pay_keeper.transaction_date }} |
{{ plan.pay_keeper.builty_no|default:"" }} |
{% endif %}
{% for p in plan.pay_extras %}
| DEL |
{{ p.payment_id }} |
{{ p.total_amount }} |
{{ p.amount_transaction }} |
{{ p.transaction_date }} |
{{ p.builty_no|default:"" }} |
{% endfor %}
{# ─── LINES ─── #}
Purchase lines ·
{{ plan.line_total }} total ⇒ {{ plan.line_keepers }} keeper(s),
{{ plan.line_extras }} extra
{# ─── STOCK HISTORY ─── #}
stock_history ·
{{ plan.sh_total }} rows ⇒ {{ plan.sh_keepers }} keeper(s),
{{ plan.sh_extras }} extra
{# ─── SERIALS ─── #}
{% if plan.serials_to_remove or plan.serials_blocked %}
Serials
| Action |
serial_no |
status |
{% for s in plan.serials_to_remove %}
| DEL |
{{ s.serial_no }} |
{{ s.status }} |
{% endfor %}
{% for s in plan.serials_blocked %}
| SKIP |
{{ s.serial_no }} |
{{ s.status }} (already moved) |
{% endfor %}
{% endif %}
{# ─── FIFO ─── #}
{% if plan.fifo_plan %}
FIFO layers (sub_products_list)
| Product |
Price |
Layer qty (now) |
Want to reduce by |
Will reduce by |
|
{% for fp in plan.fifo_plan %}
| {{ fp.prod_name }} ({{ fp.product_code }}) |
{{ fp.price }} |
{{ fp.layer_qty }} |
{{ fp.want_reduce }} |
{{ fp.will_reduce }} |
{% if fp.floored %}partial — reconcile after{% endif %} |
{% endfor %}
{% endif %}
{# ─── BUILTY EXTRAS ─── #}
{% if plan.builty_extras_count %}
Builty expense extras: {{ plan.builty_extras_count }}
(will also remove matching expense payment row + create_today_expense row)
{% endif %}
Party running balance released after this cleanup:
{{ plan.party_balance_delta|floatformat:2 }}
(rebuilt from scratch on Execute)