Fix sundry creditors ageing using purchase bill FIFO

This commit is contained in:
A R R R Associates
2026-09-10 14:40:40 +05:30
parent 37f6ef898c
commit 960eb87fca
2 changed files with 77 additions and 90 deletions
@@ -81,7 +81,7 @@
<div class="rounded-xl border border-slate-200 bg-white">
<div class="flex flex-wrap items-center justify-between gap-3 border-b border-slate-100 px-4 py-3">
<div>
<div class="font-semibold text-slate-900">{{ row.party_name }} · FIFO Outstanding Bill Drill-down</div>
<div class="font-semibold text-slate-900">{{ row.party_name }} · FIFO Purchase Bill Drill-down</div>
<div class="mt-1 text-xs text-slate-500">Closing ₹ {{ '%.2f'|format(row.closing_balance) }} · ≤180 ₹ {{ '%.2f'|format(row.within_180) }} · &gt;180 ₹ {{ '%.2f'|format(row.over_180) }}</div>
</div>
<div class="flex flex-wrap gap-2">
@@ -122,7 +122,7 @@
</table>
</div>
<div class="border-t border-slate-100 px-4 py-3 text-xs text-slate-500">
<strong>Note:</strong> “Opening / brought forward” represents an old balance for which the originating purchase voucher is outside the selected FY/mirror history. Voucher rows are FIFO-derived outstanding lots from the same calculation used in the party summary; they are not Tally bill-reference allocations.
<strong>Note:</strong> “Opening / brought forward” represents an old balance for which the originating purchase voucher is outside the selected FY/mirror history. Purchase-voucher rows are FIFO-derived outstanding purchase bills from the same closing-balance control used in the party summary; Receipt/Sales/other credit movements are not presented as purchase bills. These are not Tally bill-reference allocations.
</div>
</div>
</td>