Deduction from salary by attendance

is there a way to make salaries calculation by attendance?
it would be really great to add this feature if its not there yet.

This feature is already planned, and will be supported later.