mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 06:58:27 +00:00
Merge pull request #52181 from mihir-kandoi/st58663
This commit is contained in:
@@ -803,7 +803,7 @@ frappe.ui.form.on("Purchase Order", "is_subcontracted", function (frm) {
|
|||||||
|
|
||||||
function prevent_past_schedule_dates(frm) {
|
function prevent_past_schedule_dates(frm) {
|
||||||
if (frm.doc.transaction_date) {
|
if (frm.doc.transaction_date) {
|
||||||
frm.fields_dict["schedule_date"].datepicker.update({
|
frm.fields_dict["schedule_date"].datepicker?.update({
|
||||||
minDate: new Date(frm.doc.transaction_date),
|
minDate: new Date(frm.doc.transaction_date),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user