Commit Graph

23 Commits

Author SHA1 Message Date
Amritanshu Agrawal 567fb836b3 Fix: Kots should be sorted by date as a relationship of the voucher. This was causing them to appear in random order in sales. 2021-06-22 05:34:02 +05:30
Amritanshu Agrawal 35a431d37e Fix: Do not store timezone in database. I am using UTC everywhere and use of timezones messes up date comparison. 2021-04-23 00:58:24 +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 73850560aa Customer discount with prefill discount in sales. 2021-04-02 14:34:07 +05:30
Amritanshu Agrawal e8d178a248 Fix: ORM Borked when models were split into their own files and product could not find this relation 2021-03-18 18:03:28 +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 e4500f0d46 Breaking: Discount is applicable on sale category and not on menu category
Fix the import, etc on this.
While entering discount in sale, it checks the max allowed.
2020-12-16 11:49:22 +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 d65379a068 Chore: ng lint using the recommended @angular-eslint style 2020-12-08 18:50:46 +05:30
Amritanshu Agrawal de235f3d9e Product should now be fixed.
Need to allow later editing now.
2020-11-10 11:47:25 +05:30
Amritanshu Agrawal a92726f5e6 Product list / detail / router fully working.
Need to test the sale / reports
2020-11-09 12:44:27 +05:30
Amritanshu Agrawal 94b63e4385 Product List and Query working 2020-11-08 19:09:31 +05:30
Amritanshu Agrawal 0c9ebd29d7 Initial setup for temporal products table.
Updated the model and the data import.
Now for all the routers and then update products
2020-11-07 21:09:58 +05:30
Amritanshu Agrawal 1e69c8eeeb Importing now working
except u-product_group_modifier. It does not fit in the new scheme. Will remove in next commit so that it is added to log if needed later.
2020-10-28 02:16:55 +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 b7f382cac8 Bill change should be working
Reduce quantity should be working.
2020-10-11 20:53:43 +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 b31db593c2 Updated to angular 10
Moved to eslint for linting
Added prettier for formatting
Fixed minor errors
2020-10-11 09:34:35 +05:30
Amritanshu Agrawal 066d43a373 Moved barker one level down and using poetry for setup 2020-10-11 09:06:51 +05:30