Thanks for your reply
Suppose in the FEB Month total Days 29
Basic =500/29= 17.24138 per days
Addition weekly off 8 days
8*17.24138=137.931
Deduction from the Basic 500-137=363
Basic will be Rs 363
Remaining 8 days 50%
per days 17.241/2=8.32
This is the logic .
Regards