@@ -104,7 +104,7 @@ def set_ageing(doc, entry):
|
|||||||
ageing_filters = frappe._dict(
|
ageing_filters = frappe._dict(
|
||||||
{
|
{
|
||||||
"company": doc.company,
|
"company": doc.company,
|
||||||
"report_date": doc.to_date,
|
"report_date": doc.posting_date,
|
||||||
"ageing_based_on": doc.ageing_based_on,
|
"ageing_based_on": doc.ageing_based_on,
|
||||||
"range1": 30,
|
"range1": 30,
|
||||||
"range2": 60,
|
"range2": 60,
|
||||||
|
|||||||
@@ -340,10 +340,11 @@
|
|||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 25%">30 Days</th>
|
<th style="width: 25%">0 - 30 Days</th>
|
||||||
<th style="width: 25%">60 Days</th>
|
<th style="width: 25%">30 - 60 Days</th>
|
||||||
<th style="width: 25%">90 Days</th>
|
<th style="width: 25%">60 - 90 Days</th>
|
||||||
<th style="width: 25%">120 Days</th>
|
<th style="width: 25%">90 - 120 Days</th>
|
||||||
|
<th style="width: 20%">Above 120 Days</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -352,6 +353,7 @@
|
|||||||
<td>{{ frappe.utils.fmt_money(ageing.range2, currency=data[0]["currency"]) }}</td>
|
<td>{{ frappe.utils.fmt_money(ageing.range2, currency=data[0]["currency"]) }}</td>
|
||||||
<td>{{ frappe.utils.fmt_money(ageing.range3, currency=data[0]["currency"]) }}</td>
|
<td>{{ frappe.utils.fmt_money(ageing.range3, currency=data[0]["currency"]) }}</td>
|
||||||
<td>{{ frappe.utils.fmt_money(ageing.range4, currency=data[0]["currency"]) }}</td>
|
<td>{{ frappe.utils.fmt_money(ageing.range4, currency=data[0]["currency"]) }}</td>
|
||||||
|
<td>{{ frappe.utils.fmt_money(ageing.range5, currency=filters.presentation_currency) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user