How to hide this button in EMployee Transfer,refer the below screenshot

Screenshot from 2024-10-18 12-29-11

here i want to hide the Add Employee property button

frappe.ui.form.on("Employee Transfer", {
	onload: function (frm) {
		$('button:contains("Add Employee Property")').hide();
	},
});

Add this code in Employee Transfer client script

1 Like