Salary component with Zero value not fetching in salary slip

I am Mariya, ERPNext and Frappe developer working in a startup. I am having the issue in Salary slip if salary component not fetching it has zero value. If anyone solve this through cs script please help me to find out . Thanks in advance

I tried a way to solve this problem, by adding custom button to fetch non-formula components from relevant salary structure in the client script.