fix: placeholder number

This commit is contained in:
barredterra
2025-10-29 01:50:07 +01:00
parent 72fff5d9ee
commit 71db348330

View File

@@ -273,10 +273,10 @@ def compare_expense_with_budget(args, budget_amount, action_for, action, budget_
if total_expense > budget_amount:
if args.actual_expense > budget_amount:
diff = args.actual_expense - budget_amount
_msg = _("{0} Budget for Account {1} against {2} {3} is {4}. It is already exceeded by {6}.")
_msg = _("{0} Budget for Account {1} against {2} {3} is {4}. It is already exceeded by {5}.")
else:
diff = total_expense - budget_amount
_msg = _("{0} Budget for Account {1} against {2} {3} is {4}. It will be exceeded by {6}.")
_msg = _("{0} Budget for Account {1} against {2} {3} is {4}. It will be exceeded by {5}.")
currency = frappe.get_cached_value("Company", args.company, "default_currency")
msg = _msg.format(