Commit Graph

28 Commits

Author SHA1 Message Date
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 166af2aaa3 Fix: Rebase
Chore: Moved to ruff and sorted and cleaned using it.
Chore: Ansible file moved to roles based.
Chore: Upgraded some dependencies
2024-04-13 14:25:53 +05:30
Amritanshu Agrawal 576940471a Fix: Alembic upgrade failed 2023-12-28 14:21:42 +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 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 2fa346e084 Fix: Fingerprints should have the right constraint
Fix: Client list was not working
2023-08-08 13:06:42 +05:30
Amritanshu Agrawal 91cf1fa04f Fix: Account delete did not work due to not using unique
Chore: Sqlalchemy using the right way to write expressions.
2023-08-04 16:02:30 +05:30
Amritanshu Agrawal 3109b4bec0 Chore: Updated to fastapi 0.100.0 and pydantic v2.0
Chore: Added ruff to lint code
2023-07-25 07:46:46 +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 a023e4ce37 Chore: Compress down the multiple alembic versions into 2. One for the structure and another for the data.
Also got rid of defunt initaliedb for the initial data
2022-10-31 08:53:46 +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 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 4df8c916ab Fix: Recipe was crashing the whole thing 2021-11-02 16:39:15 +05:30
Amritanshu Agrawal 7a5ccdfbbb Fix: Upgrade failed when multiple skus 2021-11-02 14:15:00 +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 ceaf93d1cd Fix: Prevent duplicate valid attendances 2021-09-11 17:21:01 +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 074e45fe69 Chore: Renamed the auth tables to remove the prefix 2021-09-11 06:02:09 +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
Amritanshu Agrawal 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
Amritanshu Agrawal 0786a634b0 Chore: Updated a few dependencies 2021-04-03 07:54:39 +05:30
Amritanshu Agrawal ba4f8a4831 Fix:
Update password works
 Updated the precision and nullability for models
 Batch was sending non round quantity_available
 Amounts were not being displayed in daybook

 Moved dockerfile from root to have a consistent build environment
2020-11-03 21:50:30 +05:30
Amritanshu Agrawal 886b11be23 Error is batch list router fixed
v8.0.2
2020-10-11 16:29:19 +05:30
Amritanshu Agrawal 889cac237c Moved brewman python project down a level into its own folder 2020-10-10 11:19:15 +05:30