Absent in attendance leave application not submitted / not approved

it should tread as leave with out pay or working days will be lesser so the earning amount will be less in his salary

but its not working

the payment day should be lesser as per the attendance