added total amount in agreement detail
precalculating percentages and totals for agreements
dashboard agreeement data implemented