parent
e64718b2ae
commit
58e8e06ab7
@ -4,9 +4,13 @@
|
||||
frappe.ui.form.on('Retention Bonus', {
|
||||
setup: function(frm) {
|
||||
frm.set_query("employee", function() {
|
||||
if (!frm.doc.company) {
|
||||
frappe.msgprint(__("Please Select Company First"));
|
||||
}
|
||||
return {
|
||||
filters: {
|
||||
"status": "Active"
|
||||
"status": "Active",
|
||||
"company": frm.doc.company
|
||||
}
|
||||
};
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user