Amritanshu Agrawal
c13047e812
Fix: Check if moved/merged kots could lead to negative products of a situation where happy hour products were more than regular products.
...
Case:
Kot 1:
Beer Mug => 2 regular, 2 happy hour
Kot 2:
Beer Mug => 2 Regular
Kot 3:
Beer Mug => -2 Regular
Then move Kot 2 to new table would leave the voucher with 2 hh and 0 regular
Also, just move did not check if products were going negative.
2023-03-24 10:17:06 +05:30
Amritanshu Agrawal
4fffdd85d6
Fix: Merge table did not delete the old bills and fucked up.
...
Fix: Bill settlement report was not in order
2023-03-13 20:38:55 +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
61bb62475b
Chore: Updated dependencies and moved to Python 3.10 method of type hinting
2022-06-21 08:41:57 +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
ea2bfb1c0c
Chore: Moved individual models into their own files.
...
Chore: Updated dependencies.
2021-03-17 09:39:56 +05:30
Amritanshu Agrawal
565cffaef1
Fix: Kot move fixed. Kot id was missing on move. Also, voucher_type KOT as truthy not and would give bill not found error.
2020-12-24 09:10:55 +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
00fe2410b7
blacked, isorted, flake8ed and moved to arq/redis from celery/rabbitmq
2020-10-24 11:53: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