mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-07 04:24:13 +00:00
committed by
Mergify
parent
cac9eed306
commit
1d2fccfc0b
@@ -209,7 +209,7 @@ frappe.ui.form.on("Work Order", {
|
||||
if (not_completed && not_completed.length) {
|
||||
frm.add_custom_button(__("Create Job Card"), () => {
|
||||
frm.trigger("make_job_card");
|
||||
}).addClass("btn-primary");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -253,7 +253,7 @@ frappe.ui.form.on("Work Order", {
|
||||
if (non_consumed_items && non_consumed_items.length) {
|
||||
frm.add_custom_button(__("Return Components"), function () {
|
||||
frm.trigger("create_stock_return_entry");
|
||||
}).addClass("btn-primary");
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -33,6 +33,6 @@ frappe.ui.form.on("Serial No", {
|
||||
posting_time: frappe.datetime.now_time(),
|
||||
};
|
||||
frappe.set_route("query-report", "Serial No Ledger");
|
||||
}).addClass("btn-primary");
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user