mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 00:55:02 +00:00
fix: salary structure assign to employee (#24798)
* fix: salary structure assign to employee * fix: pass data from dialog
This commit is contained in:
@@ -142,6 +142,8 @@ frappe.ui.form.on('Salary Structure', {
|
||||
],
|
||||
primary_action: function() {
|
||||
var data = d.get_values();
|
||||
delete data.company
|
||||
delete data.currency
|
||||
frappe.call({
|
||||
doc: frm.doc,
|
||||
method: "assign_salary_structure",
|
||||
|
||||
Reference in New Issue
Block a user