How is leave encashment calculated in salary slip?

The employee has not used any leaves so we want to assign leave encashment to them
Here in leave encashment document the amount is 3600.


But in salary slip the encashed amount is 2880.
image

is there any formula being used ?