Sallaries list remaining unpaid salaries

How can I add a column diplaying the remaining unpaid salary in the salaries list?