Skip to content

Commit 226a506

Browse files
committed
Ui Icons Fix
Subscription ID on UI Wallet Create Mutation Sidebar Simplification
1 parent 59270d4 commit 226a506

File tree

3 files changed

+3017
-217
lines changed

3 files changed

+3017
-217
lines changed

django_ledger/io/io_core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def python_digest(self,
549549
force_queryset_sorting: bool = False,
550550
**kwargs) -> IOResult:
551551
"""
552-
Performs the appropriate transaction post-processing after DB aggregation..
552+
Performs the appropriate transaction post-processing after DB aggregation.
553553
554554
555555
Parameters
@@ -938,6 +938,7 @@ def digest_balance_sheet(self,
938938
balance_sheet_statement=True,
939939
txs_queryset=txs_queryset,
940940
as_io_digest=True,
941+
signs=True,
941942
**kwargs
942943
)
943944

@@ -991,6 +992,7 @@ def digest_income_statement(self,
991992
income_statement=True,
992993
txs_queryset=txs_queryset,
993994
as_io_digest=True,
995+
sings=True,
994996
**kwargs
995997
)
996998

@@ -1046,6 +1048,7 @@ def digest_cash_flow_statement(self,
10461048
cash_flow_statement=True,
10471049
txs_queryset=txs_queryset,
10481050
as_io_digest=True,
1051+
signs=True,
10491052
**kwargs
10501053
)
10511054

django_ledger/models/coa_default.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
Django Ledger created by Miguel Sanda <[email protected]>.
33
Copyright© EDMA Group Inc licensed under the GPLv3 Agreement.
44
5-
Contributions to this module:
6-
* Miguel Sanda <[email protected]>
7-
* Pranav P Tulshyan <[email protected]>
8-
95
This is the base Chart of Accounts that has all the possible accounts that are useful for the preparation of the
106
Financial Statements. A user may choose to use the default CoA at the creation of each EntityModel but it is not
117
required. The default CoA is intended to provide a QuickStart solution for most use cases.
@@ -14,8 +10,10 @@
1410
1. Assets:
1511
2. Liabilities
1612
3. Shareholder's Equity
17-
4. Expenses
18-
5. Revenue
13+
4. Income
14+
5. COGS
15+
6. Expenses
16+
1917
2018
The Django Ledger Default Chart of Accounts must include the following fields:
2119
* Code - String
@@ -75,15 +73,16 @@
7573
6040 ex_regular debit Bad Debt root_expenses
7674
6050 ex_regular debit Bank Charges root_expenses
7775
6060 ex_regular debit Commission Expense root_expenses
78-
6080 ex_regular debit Employee Benefits root_expenses
76+
6080 ex_regular debit Employee Benefits root_expenses
77+
6081 ex_regular debit Employee Wages root_expenses
7978
6090 ex_regular debit Freight root_expenses
8079
6110 ex_regular debit Gifts root_expenses
8180
6120 ex_regular debit Insurance root_expenses
8281
6140 ex_regular debit Professional Fees root_expenses
8382
6150 ex_regular debit License Expense root_expenses
8483
6170 ex_regular debit Maintenance Expense root_expenses
8584
6180 ex_regular debit Meals & Entertainment root_expenses
86-
6190 ex_regular debit Office Expense root_expenses
85+
6190 ex_regular debit Office Expense root_expenses
8786
6220 ex_regular debit Printing root_expenses
8887
6230 ex_regular debit Postage root_expenses
8988
6240 ex_regular debit Rent root_expenses
@@ -262,6 +261,8 @@
262261
'parent': None},
263262
{'code': '6080', 'role': roles.EXPENSE_OPERATIONAL, 'balance_type': 'debit', 'name': 'Employee Benefits',
264263
'parent': None},
264+
{'code': '6081', 'role': roles.EXPENSE_OPERATIONAL, 'balance_type': 'debit', 'name': 'Employee Wages',
265+
'parent': None},
265266
{'code': '6090', 'role': roles.EXPENSE_OPERATIONAL, 'balance_type': 'debit', 'name': 'Freight', 'parent': None},
266267
{'code': '6110', 'role': roles.EXPENSE_OPERATIONAL, 'balance_type': 'debit', 'name': 'Gifts', 'parent': None},
267268
{'code': '6120', 'role': roles.EXPENSE_OPERATIONAL, 'balance_type': 'debit', 'name': 'Insurance', 'parent': None},

0 commit comments

Comments
 (0)