Commit Graph
38 Commits
Author SHA1 Message Date
tanshu be40004a3d Ledger now showing running totals. 2026-08-26 13:35:01 +00:00
tanshu df289b20b8 Consolidated commit message to v22 signals 2026-08-25 14:45:09 +00:00
tanshu d6ba3b8e1b Roles can have included roles. 2026-02-28 15:14:47 +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 d3588977a5 Chore: Cleaned up angular component imports. 2025-07-15 18:55:08 +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 b6bb3dbcfd Chore: Auth Guard converted to CanActivateFn 2024-05-31 12:38:17 +05:30
tanshu e252680c65 Chore: Upgraded to Angular v18 2024-05-31 10:13:42 +05:30
tanshu 6e3c429db3 Chore: Updated resolvers from Class to ResolveFn 2024-05-31 09:58:48 +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 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 78d98f979d Chore: Updated to Angular 16 2023-07-23 09:01:18 +05:30
tanshu 22cac61761 Feature: Adding recipe templates to print recipes.
Feautre: Recipe export to xlsx
Chore: Python 11 style type annotations
Chore: Moved to sqlalchemy 2.0
Chore: Minimum python is 3.11
Fix: Fix nullability of a lot of fields in the database.
2023-07-23 08:12:21 +05:30
tanshu 10aca4071a Chore: Updated mat inputs to better match the style guide. Removed placeholders in favour of labels. 2023-01-31 17:49:15 +05:30
tanshu 129664e564 Chore: Upgraded to angular 15
Chore: Moved from angular/flex-layout to Tailwind
Chore: Upgrade completed
2022-12-12 12:00:24 +05:30
tanshu 4a85a9133e Chore: Removed @angular/flex-layout and replaced it with tailwind.
Chore: Upgraded some packages
2022-12-11 07:50:45 +05:30
tanshu 4b97c4228a Fix: FormArrays were not getting cleared and were basically fucking the whole thing up.
Fix: EmployeeAttendance was borking because the inital employee was null.
2022-07-24 18:25:02 +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 facf2df91e Forgot to lint earlier 2022-07-11 20:14:22 +05:30
tanshu b1c003a935 Chore: Upgrade to Angular v14 2022-07-11 20:12:38 +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 ccf2f704b6 Fix: Post voucher was not working. Replace command had borked the url.
Fix: Attendace report file name contained single quotes and did not open in excel
2020-12-08 13:05:38 +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 1b84ef0b11 Upgrade to angular v11 2020-11-23 17:12:27 +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 cefb3ebdcc Removed old rules from eslint
Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
2020-10-02 16:24:29 +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 ad8a2d2cc3 Fix: Save account error was because in constructor type did not end in underscore
Fix: Employee save as checking for in None instead of is None

Feature: Checking the existing token for validity in constructor of auth service, this should prevent last login showing
Feature: Moved the middleware secret key into the env file

Chore: Replaced my own GUID() with postgres UUID() type
2020-06-30 11:44:19 +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 6dbab6442f Renamed groups to roles in the frontend
Working:
 Account
 Cost Centre
 Employee
 Product Group
 Product
 Role
 User
 Client
2020-05-12 01:44:57 +05:30