Merge pull request #17816 from deepeshgarg007/ar_translations_develop
fix: Add translations for missing labels in AR report
This commit is contained in:
commit
25857d6ee3
@ -68,13 +68,13 @@ class ReceivablePayableReport(object):
|
|||||||
|
|
||||||
if self.filters.based_on_payment_terms:
|
if self.filters.based_on_payment_terms:
|
||||||
columns.append({
|
columns.append({
|
||||||
"label": "Payment Term",
|
"label": _("Payment Term"),
|
||||||
"fieldname": "payment_term",
|
"fieldname": "payment_term",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"width": 120
|
"width": 120
|
||||||
})
|
})
|
||||||
columns.append({
|
columns.append({
|
||||||
"label": "Invoice Grand Total",
|
"label": _("Invoice Grand Total"),
|
||||||
"fieldname": "invoice_grand_total",
|
"fieldname": "invoice_grand_total",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"options": "currency",
|
"options": "currency",
|
||||||
@ -83,7 +83,7 @@ class ReceivablePayableReport(object):
|
|||||||
|
|
||||||
for label in ("Invoiced Amount", "Paid Amount", credit_or_debit_note, "Outstanding Amount"):
|
for label in ("Invoiced Amount", "Paid Amount", credit_or_debit_note, "Outstanding Amount"):
|
||||||
columns.append({
|
columns.append({
|
||||||
"label": label,
|
"label": _(label),
|
||||||
"fieldname": frappe.scrub(label),
|
"fieldname": frappe.scrub(label),
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
"options": "currency",
|
"options": "currency",
|
||||||
|
Loading…
Reference in New Issue
Block a user