mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Merge pull request #44377 from ljain112/fix-payment-ref
fix: correct placeholder index in message
This commit is contained in:
@@ -1848,7 +1848,7 @@ class PaymentEntry(AccountsController):
|
|||||||
if paid_amount > total_negative_outstanding:
|
if paid_amount > total_negative_outstanding:
|
||||||
if total_negative_outstanding == 0:
|
if total_negative_outstanding == 0:
|
||||||
frappe.msgprint(
|
frappe.msgprint(
|
||||||
_("Cannot {0} from {2} without any negative outstanding invoice").format(
|
_("Cannot {0} from {1} without any negative outstanding invoice").format(
|
||||||
self.payment_type,
|
self.payment_type,
|
||||||
self.party_type,
|
self.party_type,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user