Company Option- Delete Transactions

Hi…Experts ERPNext hope you are fine all.

Kindly update me how can we hide Company Option- Delete Transactions from all users (Administrator is allowed only).
Company (Delete Transactions)

Thanks

Hi @Naveed1,

Please apply the client script for company doctype.

frappe.ui.form.on('Company', {
	refresh: function(frm) {
	    if (frappe.session.user != "Administrator") {
    		setTimeout(() => {
                frm.remove_custom_button('Delete Transactions', 'Manage');
            }, 10);
	    }
	}
});

reload and check it.

Thanks Dear @NCP