Commit Graph
41 Commits
Author SHA1 Message Date
tanshu 5cfa02a6ef Fix user and poster not showing in vouchers 2026-08-29 11:37:54 +00:00
tanshu be40004a3d Ledger now showing running totals. 2026-08-26 13:35:01 +00:00
tanshu e3719faddd Removed Recipe Template as it was not needed.
Moved host listeners to the component declaration.
Form submit on Return fixed.
2026-08-26 06:00:13 +00:00
tanshu df289b20b8 Consolidated commit message to v22 signals 2026-08-25 14:45:09 +00:00
tanshu 1e7476c5d9 Moved to uv from poetry
Updated ruff and mypy, accepted all changes
Central exception management and injected the Session.
This removed a lot of duplicated boilerplate code.
Added health check
Updated to Angular 21
2026-02-24 03:08:05 +00:00
tanshu 846a7209ee Removed all Material Cards
Removed Tailwind
Moved to scss
Moved to material theme 3
2025-07-16 05:16:51 +00:00
tanshu efd9d1da7a Support date query param for journal / payment / reciept voucher 2025-07-15 17:46:39 +00:00
tanshu cb2b650375 Moved to Angular v20 and Tailwind v4 plus all related dependencies
Renamed Docker directory.

Also serving static files from FastAPI.
2025-06-26 06:46:17 +00:00
tanshu 336a8f59c5 Chore: Eslint v9
Chore: Angular Zoneless
Chore: Removed Angular-Hotkeys dependency
Fix: Localization works properly now
Chore: Using Material 3 theme now
Chore: Removed toaster service to use snackbar directly
Fix: F2 Date working on all components now
2024-07-25 10:16:48 +05:30
tanshu 4571b31fc0 Chore: Check for deprecations using eslint plugin
Chore: environment file replacement stopped.
Chore: All components are now standalone and removed all modules
Chore: App routing is now in app.routes and similarly for all submodules
Chore: Http interceptors are now functional and split refresh interceptor into a separate one.
2024-05-31 22:54:41 +05:30
tanshu 34b4227148 Chore: Upgraded to Angular v17 and all the refactoring for that
Chore: Updated all dependencies in overlord
2024-04-30 12:48:11 +05:30
tanshu b1ca758e9d Added custom serializer to Decimal for all Models to output as number and not string.
This should mitigate all hacks earlier and reverted the earlier hacks.
2023-08-16 22:29:22 +05:30
tanshu 220c15b3fa Fix: Pydantic v2 is sending decimals as strings and fucking things up 2023-08-07 09:19:48 +05:30
tanshu ac868257b7 Chore: Reformatted everthing
Fix: Product ledger was not totalling.
This is because for some reason, pydantic was sending the data as string when the field was nullable
2023-08-04 21:00:26 +05:30
tanshu e02cdfbe9c Fix: Ledger and product ledger on init would fail because account/product ledger was null. Fixed 2022-07-18 23:41:09 +05:30
tanshu bddd5ec749 Fix: Autocomplete could fuck up and was definitely doing it in product.
When checking for .name, it would error out if the input was null

Fix: Journal addRow reset would reset Debit/Credit
2022-07-17 14:31:19 +05:30
tanshu 9f70ec2917 Switched on the @typescript-eslint/no-non-null-assertion rule in eslint.
Fixed the errors it threw up.
2022-07-17 09:17:20 +05:30
tanshu dbdd00119a Instanceof operator was not working so changed the way of checking it 2022-07-17 08:17:13 +05:30
tanshu 28f9bf2180 Chore: Moved from Untyped to Stongly Typed forms. 2022-07-15 13:24:25 +05:30
tanshu b1c003a935 Chore: Upgrade to Angular v14 2022-07-11 20:12:38 +05:30
tanshu 1a3248ad70 Fix: Products could be added without skus rendering them useless
Feature: Change of product in purchase / issue / Purchase return allowed.
2021-11-11 20:52:28 +05:30
tanshu 1647d356c9 Feature: Added product Stock Keeping Units to prevent duplicate products. A lot of refactoring because of this.
Removed: Reset Stock as it was never used and don't think it is even needed with this new batch system.
Fix: Incentive update was not working
2021-09-27 14:22:31 +05:30
tanshu 350edf7126 Removed timezone information from columns. Time will be stored in UTC coordinates.
Moved to Sqlalchemy 1.4 model and SessionFuture.

Upgraded to Angular 12

Upgraded the python dependencies
2021-09-07 12:59:18 +05:30
tanshu 158f3e0e36 Fix: Raw material cost detail report borked on sort at the end as order was not in RawMaterialCost schema. Although it is not needed in the frontend, added it as optional. 2020-12-11 07:47:36 +05:30
tanshu 57ef355170 Fix: Login deleting old clients was conflicting with login history
Chore: Moved to angular linting using the recommended plugins / settings
2020-12-08 12:09:19 +05:30
tanshu 2972203148 Removed the use of any and enabled the rule in eslint.
Now according to me the conversion is final.
Testing is required.
2020-11-24 08:03:43 +05:30
tanshu afe746ecdc Strict done!! 2020-11-23 16:42:54 +05:30
tanshu af343cb7f9 All datasources done. Now to wire them up in the components.
Plus ElementRefs are now optional as they cannot be initialized
2020-11-23 10:25:53 +05:30
tanshu 39e3cc51bb Moving to strict.
Create form has now moved to constructor and route data subscribe is type safe.
2020-11-23 09:18:02 +05:30
tanshu 5ea09df272 Prettied, Linted and updated angular.json according to the latest schematic of Angular CLI.
Now all that is needed is to make it ready for strict compiling.
Removed eslint-plugin-prettier as it is not recommended and causes errors for both eslint and prettier

Bumped to v8.0.0
2020-10-10 08:45:05 +05:30
tanshu cfeef1795d Feature: Allow math expressions on all journal inputs and also round them properly.
Chore:
  Prettied index.html, main.ts and styles.css
  Updated Dependencies
2020-10-07 18:42:22 +05:30
tanshu 1350870f9e Moved from tslint to eslint as tslint was depreciated.
Added prettier and also prettied all the typescript files using prettier

ESLint is using the AirBnB rules which are the most strict to lint the files.
2020-10-01 21:28:12 +05:30
tanshu 6ccb3634be Tag: v7.0.2
Fix: Attendance Type and Account Type objects were borking as their convenience methods were not returning anything
Fix: Employee Benefits and Incentive post voucher did not reload the page
Fix: For all vouchers, to prevent double data loading on save / update either reload data or navigate, don't reload data and then navigate so that the data appears once and then disappears
2020-06-02 08:35:36 +05:30
tanshu a5fcb2026c Fixed permission names in front end as they have to be kebab cased 2020-05-30 10:29:23 +05:30
tanshu 10dbe6663d DbImage works!!
Credit Salary works!!

Refresh router created, now need to use it in angular

Errors should now show up in the frontend.
2020-05-30 01:58:17 +05:30
tanshu c0ddfc95c4 Issue Done!!
Payment and Receipt Done!!
2020-05-22 01:38:07 +05:30
tanshu 98edca5f60 Renamed "Salary Deduction" to "Employee Benefit"
Journal, Purchase and Purchase Return vouchers done!!

Changed the column type of "date" columns from "datetime" to better fit the data.
2020-05-21 13:11:47 +05:30
Amritanshu 72044476a8 Feature: Lazy loading
Lazy loaded everything
TODO: The cash flow module when clicking on sub-links, it reloads the whole page, it needs to be diagnosed and fixed, this problem also exists in the other modules
TODO: Rename folders and modules such as account to accounts to match the url
2019-06-13 16:36:43 +05:30
Amritanshu fea48e1a3e Chore: Upgraded to Angular, Angular Material and Angular Flex layout 8.0 2019-06-12 17:25:10 +05:30
Amritanshu 120b9544f8 Feature: Added hotkeys in vouchers for selecting date (f2), save (ctrl+s) and post (ctrl+p) 2019-05-07 14:59:51 +05:30
tanshu 6be1dd5a3a Moved to Angular 6.0
----

Pending
* Table width for the points column in incentive
* Linting
* keyboard navigation where it was used earlier
* can remove the unused totals calculated serverside in productledger
* spinner and loading bars
* Activate Guard for Employee Function tabs
* Progress for Fingerprint uploads
* deleted reconcile and receipe features as they were not being used
* focus the right control on component load
2018-06-09 17:05:11 +05:30