|
21ef944259
|
Fixed the error in the navigation menu when there is no matching endpoint.
|
2023-03-21 00:53:27 +08:00 |
|
|
e377eac407
|
Fixed the capitalization of the currencies, base accounts, and accounts.
|
2023-03-20 23:54:49 +08:00 |
|
|
03265a1232
|
Fixed the text in the buttons to add new journal entries.
|
2023-03-20 23:16:57 +08:00 |
|
|
079dc1ab6d
|
Renamed the "eid" field to "id" in the LineItemForm form, since the problem is found. It was the "id" property of the enclosing FormField. If we extract the form from FormField, we can still access the "id" field.
|
2023-03-20 23:06:57 +08:00 |
|
|
d4fe91ec4a
|
Fixed the capitalization of the shortcut periods in the period chooser.
|
2023-03-20 22:57:04 +08:00 |
|
|
acc5b4d6ea
|
Fixed the capitalization of the label of the number of items in the description editor.
|
2023-03-20 22:52:35 +08:00 |
|
|
50dd6078c7
|
Replaced "Need offset" with "Needs Offset" as the text of the badge.
|
2023-03-20 22:43:53 +08:00 |
|
|
9a4531b26c
|
Revised the title of the delete confirmation modal from "Delete XXX Confirmation" to "Confirm Delete XXX", as suggested by ChatGPT.
|
2023-03-20 22:38:35 +08:00 |
|
|
b1af1d7425
|
Renamed "voucher" to "journal entry".
|
2023-03-20 22:33:14 +08:00 |
|
|
8f909965a9
|
Renamed "voucher line item" to "journal entry line item".
|
2023-03-20 20:52:35 +08:00 |
|
|
e26af6f3fc
|
Renamed "side" to "debit-credit".
|
2023-03-20 20:35:10 +08:00 |
|
|
d7d6929bf2
|
Fixed the parameter passed to the credit line item subform in the transfer voucher form.
|
2023-03-20 18:53:16 +08:00 |
|
|
e4cc61552e
|
Simplified the parameter passed to the "form-line-item.html" template for the line item subform of the voucher form, to be less error-prone.
|
2023-03-20 18:53:11 +08:00 |
|
|
d18dd7d4d2
|
Renamed "summary" to "description" in the voucher line item.
|
2023-03-20 18:45:50 +08:00 |
|
|
c1235608d8
|
Renamed "journal entry" to "voucher line item", and "entry type" to "side".
|
2023-03-19 22:09:40 +08:00 |
|
|
5db13393cc
|
Renamed "transaction" to "voucher", "cash expense transaction" to "cash disbursement voucher", and "cash income transaction" to "cash receipt voucher".
|
2023-03-19 13:56:46 +08:00 |
|
|
6d293a1aac
|
Added the JavaScript getInstances method to the SummaryEditor and AccountSelector classes, so that it is easier to deal with the case when the debit and credit versions are not both exist.
|
2023-03-18 23:36:38 +08:00 |
|
|
a2311aee24
|
Revised to prevent word wrapping in the button to choose the original entry in the summary editor.
|
2023-03-18 23:20:49 +08:00 |
|
|
5571c0d01f
|
Renamed all the is_XXX_needed properties to is_need_XXX. For example, especially the is_offset_needed property to is_need_offset, to be clear and understandable.
|
2023-03-18 22:52:29 +08:00 |
|
|
ca928636fd
|
Replaces the datasets with object attributes to store the currency code and entry type in the JavaScript OriginalEntrySelector class.
|
2023-03-18 22:11:45 +08:00 |
|
|
35dc513760
|
Revised the #initializeSummaryEditors method of the JavaScript JournalEntryEditor class to construct the SummaryEditor instances with the entry type instead of the form element. Replaced the form element with the entry type in the constructor of the SummaryEditor class. Removed the unused accounting-summary-editor class and data-entry-type attributes from the template of the summary editor.
|
2023-03-18 22:11:45 +08:00 |
|
|
8c10f1e96a
|
Revised the ledger not to show the accumulated balance of the nominal accounts. The accumulated balance does not make sense for nominal accounts.
|
2023-03-18 22:11:45 +08:00 |
|
|
4eac10981f
|
Added owner's equity (base code starts with "3") to the accounts that can take offset.
|
2023-03-18 22:11:44 +08:00 |
|
|
34f63c1cdf
|
Renamed the "isOriginalEntry", "is-original-entry", "is_original_entry", and "isOriginalEntry()" methods and properties of journal entries to "isNeedOffset", "is-need-offset", "is_need_offset", and "isNeedOffset()", to be clear and understandable.
|
2023-03-18 22:11:44 +08:00 |
|
|
2239ddfad1
|
Revised the JavaScript to initialize the AccountSelector instances in JournalEntryEditor, so that the journal entry editor holds the AccountSelector instances. It can find the AccountSelector instance without needing to invoke its static methods. Removed the redundant static methods from the AccountSelector class.
|
2023-03-18 22:11:44 +08:00 |
|
|
94a527caf2
|
Replaces the datasets with object attributes to store the column values in the JavaScript JournalEntryEditor class.
|
2023-03-18 22:10:28 +08:00 |
|
|
d88b3ac770
|
Added to track the net balance and offset of the original entries.
|
2023-03-17 22:32:01 +08:00 |
|
|
3a12472d4b
|
Fixed the indent in the template of the account selector.
|
2023-03-14 17:03:01 +08:00 |
|
|
690f89e29a
|
Removed the unused accounting-debit-account-code and accounting-credit-account-code HTML classes.
|
2023-03-14 17:02:54 +08:00 |
|
|
3826646d06
|
Reordered the journal entry editor and put the summary first and the account later.
|
2023-03-14 17:02:46 +08:00 |
|
|
3ce34803f3
|
Moved the journal entry editor from the transaction-form.js to a new independent JavaScript file journal-entry-editor.js.
|
2023-03-14 17:02:41 +08:00 |
|
|
232f73172f
|
Removed the prefix from the journal entry sub-form.
|
2023-03-14 17:02:39 +08:00 |
|
|
ff1bb7142b
|
Removed the unused data-prefix attribute from the currency sub-forms of the transaction form.
|
2023-03-14 17:02:37 +08:00 |
|
|
7155bf635a
|
Removed the data-entry-type attribute from the journal entry editor form. The entry type is passed by the object. There is no need to store this information in the HTML anymore.
|
2023-03-14 17:02:35 +08:00 |
|
|
c80e58b049
|
Renamed the journal entry form to journal entry editor, to be clear.
|
2023-03-14 16:59:46 +08:00 |
|
|
be0ae5eba4
|
Replaced the function-based JavaScript with the object-oriented TransactionForm, CurrencySubForm, DebitCreditSideSubForm, JournalEntrySubForm, and JournalEntryForm classes for the transaction form.
|
2023-03-14 16:59:36 +08:00 |
|
|
0a658a76e8
|
Replaced the function-based JavaScript with the object-oriented AccountForm class for the account form.
|
2023-03-12 22:15:54 +08:00 |
|
|
50dc79d865
|
Added the missing is-invalid class on errors to the currency field in the currency sub-forms of the transaction form.
|
2023-03-12 16:51:25 +08:00 |
|
|
1d6a53f7cd
|
Revised the account form so that the if-offset-needed option is only available for real accounts.
|
2023-03-12 01:34:42 +08:00 |
|
|
d28bdf2064
|
Revised the parameter order in the template of the currency sub-form of the transaction form.
|
2023-03-11 16:34:29 +08:00 |
|
|
56e972c371
|
Fixed so that the download buttons on the report pages are disabled when there is no data.
|
2023-03-09 22:29:44 +08:00 |
|
|
05ac5158f8
|
Added the default report view as the income and expenses log with the default currency, default account and default period. Changed the previous default journal links to the current default.
|
2023-03-09 20:59:09 +08:00 |
|
|
5132141c68
|
Renamed the "is_pay_off_needed" column of the Account data model to "is_offset_needed", and the "pay_off_target_id" column of the JournalEntry data model to "original_id".
|
2023-03-09 17:16:05 +08:00 |
|
|
e37f6792c9
|
Replaced aria-label with aria-labelled-by in the search modal of the report, for simplicity.
|
2023-03-09 16:42:13 +08:00 |
|
|
27beff3f8f
|
Renamed the accounting-search and accounting-search-label HTML ID to accounting-toolbar-search and accounting-toolbar-search-label, respectively.
|
2023-03-09 14:37:03 +08:00 |
|
|
c6c545b99f
|
Removed the unused accounting-search-form, accounting-search-desktop-form, accounting-search-input, and accounting-search-label classes.
|
2023-03-09 14:37:02 +08:00 |
|
|
6d5a2fae6a
|
Applied the accounting-toolbar class to the base account list, account list, and currency list.
|
2023-03-09 14:37:02 +08:00 |
|
|
8819eabcd0
|
Replaced the separated toolbar for the desktop and mobile screen with the accounting-toolbar class that acts differently on different screen sizes.
|
2023-03-09 14:37:01 +08:00 |
|
|
3582d960ca
|
Replaced the toolbar button group with individual buttons on the reports.
|
2023-03-09 14:37:01 +08:00 |
|
|
02e10a301a
|
Removed the unused custom "btn-actions" class from the templates.
|
2023-03-09 14:36:59 +08:00 |
|