Dear Ramasu,
PF contribution is payable on the basis of basic wages, dearness allowance, and retaining allowance (if any) actually drawn during the whole month. An employee may not attend work but be on paid leave, and so their wages are drawn; the PF contribution is to be paid (Clause 29(3) of EPF Scheme). However, if it is unpaid leave or absence without leave, then no wages are drawn, and there will be no liability to pay PF.