Commit Graph

147 Commits

Author SHA1 Message Date
Amritanshu Agrawal c07c79ffda Version Bump v13.0.0 2024-05-31 22:54:44 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal b6bb3dbcfd Chore: Auth Guard converted to CanActivateFn 2024-05-31 12:38:17 +05:30
Amritanshu Agrawal e252680c65 Chore: Upgraded to Angular v18 2024-05-31 10:13:42 +05:30
Amritanshu Agrawal 6e3c429db3 Chore: Updated resolvers from Class to ResolveFn 2024-05-31 09:58:48 +05:30
Amritanshu Agrawal 6f433ef203 Feature: Voucher tags. This will eventually help in filtering ledger based on tags and also to group vouchers. 2024-05-31 07:30:02 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 88f0c35b4d Feature: Download nutritional information and store description and allergen information in products 2023-12-28 13:52:48 +05:30
Amritanshu Agrawal cd6a5e129f Feature: Recording the nutritional and ice cream related values in the database 2023-12-25 10:57:44 +05:30
Amritanshu Agrawal 7aeee662c0 Fix: When adding lock information. After the initial entry, the voucher and account types list were useless. 2023-09-03 10:09:37 +05:30
Amritanshu Agrawal 56da6b0a82 Feature: Made the title configurable 2023-08-23 11:42:13 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 84728eb037 Fix: Since pydantic v2 is sending decimal as string. It is fucking things up. 2023-08-15 06:39:02 +05:30
Amritanshu Agrawal 1705d58dbc Fix: Recipe now checks for recursion (hopefully)
Feature: Recipe prices are now calculated based on periods and saved
Feature: The recipe export excel now has prices
2023-08-12 08:29:21 +05:30
Amritanshu Agrawal e072e77663 Fix: Recipe add was not working and removed unused rate input in the recipe detail component 2023-08-10 13:32:35 +05:30
Amritanshu Agrawal 220c15b3fa Fix: Pydantic v2 is sending decimals as strings and fucking things up 2023-08-07 09:19:48 +05:30
Amritanshu Agrawal 9ad411af65 Chore: Just made it look nicer 2023-08-05 08:05:14 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 78d98f979d Chore: Updated to Angular 16 2023-07-23 09:01:18 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal 4a85a9133e Chore: Removed @angular/flex-layout and replaced it with tailwind.
Chore: Upgraded some packages
2022-12-11 07:50:45 +05:30
Amritanshu Agrawal 21fa2ae139 Chore: Updated dependencies 2022-10-31 09:24:06 +05:30
Amritanshu Agrawal 3eb715e2de Created a period table for date ranges and made the recipes dependent on it instead of having arbitrary date ranges. This will enable easy copying into new months. 2022-07-28 22:16:28 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal dbdd00119a Instanceof operator was not working so changed the way of checking it 2022-07-17 08:17:13 +05:30
Amritanshu Agrawal 28f9bf2180 Chore: Moved from Untyped to Stongly Typed forms. 2022-07-15 13:24:25 +05:30
Amritanshu Agrawal facf2df91e Forgot to lint earlier 2022-07-11 20:14:22 +05:30
Amritanshu Agrawal d44c5b3e02 Fix: Download closing stock report was borked as product was an object not a string. 2022-07-11 20:13:05 +05:30
Amritanshu Agrawal b1c003a935 Chore: Upgrade to Angular v14 2022-07-11 20:12:38 +05:30
Amritanshu Agrawal 7065a3b911 Allow downloading of fingerprint data. 2022-01-16 16:08:19 +05:30
Amritanshu Agrawal 9d088aa95e Extensive mypy checking. 2021-11-21 12:18:26 +05:30
Amritanshu Agrawal ee7f036ced Chore: Mypy work going on
Fix: Recipes costing of semi items would show very high cost of the whole recipe for per unit as ingredient
2021-11-14 12:02:22 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal ffd46bf717 Feature: Recipe module mostly working. What needs to be done is duplicating recipes and export for checking.
Feature: Non Contract Purchases Report
2021-11-10 10:57:18 +05:30
Amritanshu Agrawal 952f030e8d Fix: Deleting voucher fucked up due to cascading changes was not 2021-11-08 17:19:27 +05:30
Amritanshu Agrawal 30e3288b1e DB Normalization: Moved fractionUnits back to Product from SKU as it is better suited there.
Feature: Created the ProductSku schema for the product/sku autocomplete
2021-11-02 14:00:15 +05:30
Amritanshu Agrawal 0574f9df14 Chore: Changed the account_type and voucher_type enum.
The account type enum is not stored in the database as an enum.
The voucher_type enum is now a table in the database.

Feature: Closing stock can now be saved and in each department.
2021-10-31 18:41:06 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal c3bd22fc9f Fix: Balance Sheet and Trial Balance would not update when changing date. 2021-09-25 11:48:56 +05:30
Amritanshu Agrawal 6d0d95070b Moved the batch integrity report from settings to its own report in products with permission of product ledger.
It also automatically fixes the issue prices.
2021-09-24 14:40:51 +05:30
Amritanshu Agrawal b1557bef88 DB Integrity checks for batch integrity and also updates quantities when it can. 2021-09-21 09:54:11 +05:30
Amritanshu Agrawal 176559466a Feature: Changed the unposted report to entries report with paging, sorting, etc. 2021-09-14 12:49:01 +05:30
Amritanshu Agrawal d34c8ea0a4 Rate Contract is checked during save and update of Purchase at the backend 2021-09-13 13:01:34 +05:30
Amritanshu Agrawal dee053c115 Added: Rate Contract Module. To implement: Checking this during purchase. 2021-09-11 15:43:18 +05:30
Amritanshu Agrawal 2820813cb6 Refactor: Moved various Schemas into their files
Feature: Complex voucher locking where specific types of vouchers and accounts can be locked and the locks can also be times to expire after some time.
Highest index takes priority
2021-09-10 13:21:43 +05:30