Leave Encashment

Some companies pay leave encashment on basic and some on gross salary. What is the correct method under factories act, payment of wages act etc

As per the act, correct method is Basic+DA Calculation only.