Add totals for banks and complete total
Add transaction dependency on envelope model