Added debit and credit forms and fixed errors