diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py index ac31e8a1db..032aa80ff2 100644 --- a/erpnext/accounts/doctype/payment_entry/payment_entry.py +++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py @@ -999,14 +999,14 @@ class PaymentEntry(AccountsController): if self.payment_type == "Internal Transfer": remarks = [ _("Amount {0} {1} transferred from {2} to {3}").format( - self.paid_from_account_currency, self.paid_amount, self.paid_from, self.paid_to + _(self.paid_from_account_currency), self.paid_amount, self.paid_from, self.paid_to ) ] else: remarks = [ _("Amount {0} {1} {2} {3}").format( - self.party_account_currency, + _(self.party_account_currency), self.paid_amount if self.payment_type == "Receive" else self.received_amount, _("received from") if self.payment_type == "Receive" else _("to"), self.party, @@ -1023,14 +1023,14 @@ class PaymentEntry(AccountsController): if d.allocated_amount: remarks.append( _("Amount {0} {1} against {2} {3}").format( - self.party_account_currency, d.allocated_amount, d.reference_doctype, d.reference_name + _(self.party_account_currency), d.allocated_amount, d.reference_doctype, d.reference_name ) ) for d in self.get("deductions"): if d.amount: remarks.append( - _("Amount {0} {1} deducted against {2}").format(self.company_currency, d.amount, d.account) + _("Amount {0} {1} deducted against {2}").format(_(self.company_currency), d.amount, d.account) ) self.set("remarks", "\n".join(remarks))