Commit Graph

20 Commits

Author SHA1 Message Date
Amritanshu Agrawal 1a08066c2d Feature: Cancelled bills are now separate from void bills.
Void bills are automatically generated when printed bills are changed.
Manually cancelled bills are called cancelled bills.
2023-03-17 08:27:30 +05:30
Amritanshu Agrawal e46fe7f90e Feature: Tax Regimes are added so that different bills with different series can be printed for Different regimes such as VAT and GST
Chore: Model relationships updated to make them simpler
Chore: Bill printing majorly refactored for it

Due to the sheer depth of the changes. There can be showstoppers. Please test it carefully
2023-03-05 23:50:41 +05:30
Amritanshu Agrawal 5c7985e392 Chore:
Moved to sqlalchemy 2.0
Added type checking as much as possible
Updated angular to 15
Moved from Angular flex layout to tailwind css

Started developing on vscode with devcontainers
2023-02-20 18:49:17 +05:30
Amritanshu Agrawal 61bb62475b Chore: Updated dependencies and moved to Python 3.10 method of type hinting 2022-06-21 08:41:57 +05:30
Amritanshu Agrawal 9c0936e772 Fix: Didn't convert a few queries to 2.0 format. Caught some error with mypy, but don't know if that approach is usable. 2021-04-10 08:57:04 +05:30
Amritanshu Agrawal 978f0fcdff Chore: Move to sqlalchemy 2.0 querying style using the future flags on sqlalchemy 1.4 2021-04-09 09:31:36 +05:30
Amritanshu Agrawal 07d13898c3 Fix: Dates in old imported data should be at UTC time.
Fix: Use utc now for dates to have consistent dates across timezones.
2021-04-06 08:50:37 +05:30
Amritanshu Agrawal 97579ea9d3 Dates and times should now be handled properly once the server is set on UTC time and the proper timezone offset environment variable is set. 2021-04-02 06:58:38 +05:30
Amritanshu Agrawal ea2bfb1c0c Chore: Moved individual models into their own files.
Chore: Updated dependencies.
2021-03-17 09:39:56 +05:30
Amritanshu Agrawal b85e930ace Moved all auth schemas into their own files. Updated imports. 2020-12-21 11:18:58 +05:30
Amritanshu Agrawal 27aa4d12a6 Settle Options are now stored in the Database and can be updated 2020-12-13 09:45:24 +05:30
Amritanshu Agrawal 6567f560ab Updated to angular 11
Now compiling with strict mode in typescript
Need to error checking now
2020-11-22 10:13:37 +05:30
Amritanshu Agrawal 163b40e9e5 Simplified some permissions
Renamed Accounts Audit to Audit
Renamed Machines to Devices as it made sense
Sections and Tables are now under Sections Permission
Guest Book is now under Customers Permission
Renamed Beer Consumption Report to Beer Sale Report
Fix: Move Kot and Table to check what the final effect is
2020-11-15 12:26:24 +05:30
Amritanshu Agrawal 6f9394dc8d Chore: Start and Finish date in reports extracted to function 2020-11-11 10:09:07 +05:30
Amritanshu Agrawal f8683cf080 Devices have replaced Clients for authentication as well as location using sections.
Printing of reports done.
Main section is now a fixture

User and Devices list gives last login details.
2020-10-27 16:59:24 +05:30
Amritanshu Agrawal cbc2f29e29 Bump to version 3.0.0
Printing done on:
 Cashier Report
 Discount Report
 Sale Report
2020-10-27 12:13:17 +05:30
Amritanshu Agrawal 00fe2410b7 blacked, isorted, flake8ed and moved to arq/redis from celery/rabbitmq 2020-10-24 11:53:12 +05:30
Amritanshu Agrawal 7baf79c3fa Fix: ValueErrors should be HTTPException 2020-10-11 11:20:12 +05:30
Amritanshu Agrawal d677cfb1ea Blacked and isorted the python files
Prettied and eslinted the typescript/html files
2020-10-11 10:56:29 +05:30
Amritanshu Agrawal 066d43a373 Moved barker one level down and using poetry for setup 2020-10-11 09:06:51 +05:30