How i can add custom button on leave application at list view side

i want to add custom button on leave application at list view side. how i can add

Hi @briandrogo,

Please check the post.

I hope this helps.

Thank You!

Please check the syntax and set it according.

frappe.listview_settings['Leave Application'].refresh = function(listview) {
	listview.page.add_menu_item(__("Menu"));
	listview.page.add_action_item(__("Actions"));
	listview.page.set_primary_action('Primary Button');
  	listview.page.set_secondary_action('Secondary Button');
	listview.page.add_inner_button("Inner Button");
};

Thank You!

2 Likes

you are a rider bro :love_you_gesture: