mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-23 21:22:42 +01:00
fix(payment_schedule): using show_alert instead of msgprint for non-selection of payment schedule (#53623)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user