Printed Leveled Accounts

class utility_accert.Utility_methods

Utility class

print_leveled_accounts(c, all=False, cost_unit='dollar', level=3)

Prints the output account table with COA line up as a nested list.

Parameters

cMySQLCursor

MySQLCursor class instantiates objects that can execute MySQL statements.

allbool, optional

If True, print all the accounts columns. (By default False)

cost_unitstr, optional

Unit of the total cost. (By default ‘dollar’)

levelint, optional

Level of account. (By default 3)