Skip to content

Commit

Permalink
v0.7.3 (#239)
Browse files Browse the repository at this point in the history
* Add COA slug support and improve template URL rendering

Added coa_slug during IO Digest phase to accounts.

Updated the code to include the Chart of Accounts (COA) slug in the ledger's logic and templates. Adjusted URL rendering in templates to use `coa_slug`, providing consistency and better context for account-related operations. Minor adjustments were also made to improve data context handling.

* Add `entity_unit` and `activity` fields to data import context and template.

This update introduces the `entity_unit` and `activity` fields to the data import context in the model and displays it in the relevant template. The changes improve visibility of journal entry attributes and enhance clarity for imported transactions.

* package.json update.
TypeScript dependency updates.

Refactor and update styles and chart scripts.

Renamed and updated style files for better naming consistency. Refactored chart-related scripts to improve compatibility with updated Chart.js and streamline configurations. Removed unused Vue instances and redundant/legacy code for better maintainability.

* Updated JS/Styles Bundle.

* Update dependencies and migrate to Vue 3

Replaced `@iconify/iconify` with `iconify-icon` and updated various dependencies including `axios`, `chart.js`, and `bulma` to ensure compatibility and latest features. Migrated from Vue 2 to Vue 3 with necessary updates, such as adding `@vue/compiler-sfc` and `vue-loader`. Also updated devDependencies like `typescript`, `sass`, and `webpack` to their latest versions.

* Updated JS Styles.

* Update version, improve templates, and adjust TypeScript config

Bump project version to 0.7.3 in preparation for updates. Refactor templates for cleaner structure and robust error handling. Update TypeScript configuration for ESNext compatibility and fix minor include and icon rendering issues.

* pNPM Lock File

* Add 'Actions' column and dropdown menus for account operations

Enhances templates by including an 'Actions' column in income statements with dropdown menus for account details and updates. Also adjusts button styling in balance sheet and transaction tables to improve UI consistency.

* Enhance account handling and transaction filtering

Added `entity_slug` and `user_model` to template context for better context data. Updated the form to include `balance_type` as a selectable field with proper styling. Adjusted transaction queryset to exclude closing entries in account views for more accurate filtering.

* Simplify context assignment of TO/FROM dates.

Removed redundant checks and bugfixes for context keys before assignment, directly setting date-related values in the context. This reduces complexity and ensures consistent behavior across methods.
  • Loading branch information
elarroba authored Jan 7, 2025
1 parent eec1837 commit d2ffa02
Show file tree
Hide file tree
Showing 29 changed files with 4,024 additions and 4,788 deletions.
4,544 changes: 0 additions & 4,544 deletions assets/package-lock.json

This file was deleted.

36 changes: 17 additions & 19 deletions assets/package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,36 @@
{
"dependencies": {
"@iconify/iconify": "^3.1.1",
"@types/chart.js": "^2.9.31",
"iconify-icon": "^2.2.0",
"@types/lodash": "^4.14.202",
"animate.css": "^4.1.1",
"axios": "^1.6.7",
"bulma": "^1.0.0",
"bulmaswatch": "^0.8.1",
"chart.js": "^2.9.4",
"axios": "^1.7.9",
"bulma": "^1.0.3",
"chart.js": "^4.4.7",
"json-schema": "^0.4.0",
"pikaday": "^1.8.2",
"scss-tokenizer": "^0.4.3",
"trim-newlines": "^4.0.2",
"vue": "^2.7.16",
"vue-class-component": "^7.2.6"
"vue": "^3.5.13",
"@vue/compiler-sfc": "^3.5.13",
"vue-loader": "^17.4.2"
},
"devDependencies": {
"css-loader": "^6.8.1",
"css-loader": "^7.1.2",
"file-loader": "^6.2.0",
"less": "^4.2.0",
"less-loader": "^11.1.3",
"node-sass": "^9.0.0",
"less": "^4.2.1",
"less-loader": "^12.2.0",
"sass": "^1.83.1",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
"ts-loader": "^9.4.4",
"typescript": "^4.2.4",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.7.2",
"url-loader": "^4.1.1",
"webpack": "^5.33.2",
"webpack-cli": "^4.6.0"
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1"
},
"scripts": {
"build": "webpack",
"watch": "webpack --watch"
},
"main": "../django_ledger/static/django_ledger/bundle/djetler.bundle.js",
"packageManager": "[email protected]"
"main": "../django_ledger/static/django_ledger/bundle/djetler.bundle.js"
}
Loading

0 comments on commit d2ffa02

Please sign in to comment.