fix(payment_schedule): using show_alert instead of msgprint for non-selection of payment schedule (#53623)

This commit is contained in:
diptanilsaha
2026-03-19 12:29:28 +05:30
committed by GitHub
parent 256d267a3b
commit 086fea7cf0

View File

@@ -516,7 +516,10 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
const selected = values.payment_schedules.filter((r) => r.__checked);
if (!selected.length) {
frappe.msgprint(__("Please select at least one schedule."));
frappe.show_alert({
message: __("Please select at least one schedule."),
indicator: "orange",
});
return;
}
console.log(selected);