showing the total amount and the balance amount in the location details page