Yes create 2 PCR's where you create 1 st one to calculate your attendance bonus amount i.e 1000+1006+1016/30 *2 and store it in one wage type and in variable.
Then in 2nd PCR you query the wage type which is out put of 1 st PCR then you write your logic whether employee is absent or not if yes do not do any thing else pass the amount from variable to another wage type and show it in the payslip.
Regards
Venkatesh