mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fix: minor bug fixes for ar print template
(cherry picked from commit 4228885f1e)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -105,9 +105,7 @@
|
|||||||
<div class="left">
|
<div class="left">
|
||||||
<div>
|
<div>
|
||||||
<strong>{%= __("Customer") %}:</strong>
|
<strong>{%= __("Customer") %}:</strong>
|
||||||
{%=
|
{%= (filters.party.length && filters.party.join(", ")) || __("All Parties") %}
|
||||||
(filters.party.length && filters.party.join(", ")) || "All Parties"
|
|
||||||
%}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -128,11 +126,7 @@
|
|||||||
<th style="text-align: left;">{%= __("Reference") %}</th>
|
<th style="text-align: left;">{%= __("Reference") %}</th>
|
||||||
|
|
||||||
{% if(filters.show_remarks) { %}
|
{% if(filters.show_remarks) { %}
|
||||||
<td class="text-left">
|
<th style="text-align: left;">{%= __("Remarks") %}</th>
|
||||||
{% if(i != data.length - 1 && data[i]["remarks"] && data[i]["remarks"] != "No Remarks") { %}
|
|
||||||
{%= data[i]["remarks"] %}
|
|
||||||
{% } %}
|
|
||||||
</td>
|
|
||||||
{% } %}
|
{% } %}
|
||||||
|
|
||||||
<th style="width: 10em; text-align: right;">{%= __("Age (Days)") %}</th>
|
<th style="width: 10em; text-align: right;">{%= __("Age (Days)") %}</th>
|
||||||
@@ -152,6 +146,13 @@
|
|||||||
{%= data[i]["voucher_no"] %}
|
{%= data[i]["voucher_no"] %}
|
||||||
{% } %}
|
{% } %}
|
||||||
</td>
|
</td>
|
||||||
|
{% if(filters.show_remarks) { %}
|
||||||
|
<td class="text-left">
|
||||||
|
{% if(data[i]["remarks"] && data[i]["remarks"] != "No Remarks") { %}
|
||||||
|
{%= data[i]["remarks"] %}
|
||||||
|
{% } %}
|
||||||
|
</td>
|
||||||
|
{% } %}
|
||||||
<td class="text-right">{%= data[i]["age"] %}</td>
|
<td class="text-right">{%= data[i]["age"] %}</td>
|
||||||
<td class="text-right">{%= format_currency(data[i]["invoiced"], data[i]["currency"]) %}</td>
|
<td class="text-right">{%= format_currency(data[i]["invoiced"], data[i]["currency"]) %}</td>
|
||||||
<td class="text-right">{%= format_currency(data[i]["outstanding"], data[i]["currency"]) %}</td>
|
<td class="text-right">{%= format_currency(data[i]["outstanding"], data[i]["currency"]) %}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user