Bug 445 - Accounts with 0 balance wrongly included in balance sheet
Summary: Accounts with 0 balance wrongly included in balance sheet
Status: RESOLVED FIXED
Alias: None
Product: Group 3
Classification: Unclassified
Component: Corporation Accounting System (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- minor
Assignee: Hsu To-Liang
URL:
Depends on:
Blocks:
 
Reported: 2020-11-23 19:54 HKT by hsiangtai2-c
Modified: 2020-11-23 20:50 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hsiangtai2-c 2020-11-23 19:54:38 HKT
When printing the balance sheet, instead of only printing those with a non-zero balance, the system prints all the accounts in existence. Conventionally, only those whose balance isn't zero should be printed.
Comment 1 Hsu To-Liang 2020-11-23 20:46:58 HKT
The original balance sheet printing out all accounts is lengthy and will make users lose their focus. I have rewritten the printBalanceSheet() method in Company so that only accounts with non-zero balance will be printed. By doing so, the balance sheet becomes more concise and neater.