Commit Graph

320 Commits

Author SHA1 Message Date
Amritanshu Agrawal f73de53d21 Version Bump v10.3.1 2022-06-21 08:44:58 +05:30
Amritanshu Agrawal e37d160b7c Fix: Square brackets made the expression a list and the next generator would not work on it 2022-06-21 08:44:00 +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 2f1f9eee1f Version Bump v10.3.0 2022-04-26 09:07:07 +05:30
Amritanshu Agrawal f9124abb6c Moved ssh and redis tunneling from knox to beacon 2022-04-26 09:03:10 +05:30
Amritanshu Agrawal 09a8fdfecc Chore: some mypy fixes 2022-04-26 08:59:42 +05:30
Amritanshu Agrawal 7a2ccb7fb1 Fix: Sale Report won't add sales of printed but yet unsettled bills to Category wise sale. 2022-04-26 08:47:55 +05:30
Amritanshu Agrawal 1eccd7f9d5 Version Bump v10.2.2 2022-04-16 17:29:49 +05:30
Amritanshu Agrawal a213c1a0b5 Added: Process id to log.
Added: Max workers to all .envs
Added: Leardall service
Added: beacon redis tunnel
2022-04-16 17:28:00 +05:30
Amritanshu Agrawal 1a8992c296 Version Bump v10.2.1 2022-04-16 08:44:24 +05:30
Amritanshu Agrawal 676719917a Fix: Wrong parameter to gunicorn run. This as anyway a bit of trial and error 2022-04-16 08:44:17 +05:30
Amritanshu Agrawal 1071b57484 Version Bump v10.2.0 2022-04-16 07:59:48 +05:30
Amritanshu Agrawal 3eaf4cd41d Using gunicorn to run upto 4 workers. This should fix the problems of the whole program crashing. 2022-04-16 07:57:18 +05:30
Amritanshu Agrawal c494284517 Linting broke for v10+ as the regex only matched one digit 2022-04-03 07:32:35 +05:30
Amritanshu Agrawal 34ced063a1 Version Bump v10.1.1 2022-04-03 07:31:38 +05:30
Amritanshu Agrawal 59f47e046b Version Bump v10.1.0 2022-04-03 07:31:27 +05:30
Amritanshu Agrawal 54c797d1a8 Set strict mode on the scripts 2022-04-03 07:27:12 +05:30
Amritanshu Agrawal d43aab0b23 Chore: Updated linter changed this. 2022-04-03 07:26:40 +05:30
Amritanshu Agrawal 1f1a9a13cd Chore: Update dependencies
Version Bump v10.1.0
2022-04-02 10:00:31 +05:30
Amritanshu Agrawal d9d5754e26 Removed async as I suspect it was crashing the entire application. 2022-04-02 09:59:26 +05:30
Amritanshu Agrawal a174f6b847 Fix: Product sale report would mix different product versions as it was checking the product id and not version id
Feature: Cannot add na product to bill
2021-12-29 07:49:23 +05:30
Amritanshu Agrawal 1a4e51051c Version Bump v10.0.0 2021-10-29 08:06:35 +05:30
Amritanshu Agrawal ee7a24fa77 Minor cleanup 2021-10-29 08:06:23 +05:30
Amritanshu Agrawal ef9e28c95b Docker: Updated the dockerfile and deploy script to better use docker cacheing 2021-10-28 09:55:09 +05:30
Amritanshu Agrawal 0837aebfb8 Chore: Updated dependencies 2021-10-27 10:30:57 +05:30
Amritanshu Agrawal 124cf4d9ff Fix: Username unique index was case sensitive and this allowed duplicate names.
Feature: Moved temporal products into their own module and reverted the products module
2021-10-27 09:27:47 +05:30
Amritanshu Agrawal debe0df7b7 Chore: Fix import of Observable to be from rxjs and not rxjs/internal. It was maybe causing optimization bailouts 2021-09-20 09:30:00 +05:30
Amritanshu Agrawal 5ff954deb6 Fix: Customers with no discount wouldn't show properly in sale / select customer 2021-09-20 09:16:54 +05:30
Amritanshu Agrawal b70a296d8b Version Bump v9.8.0 2021-09-19 22:42:38 +05:30
Amritanshu Agrawal 6379e5f4e3 Choose / Edit / Create customers during billing. 2021-09-19 22:42:27 +05:30
Amritanshu Agrawal c478290da0 Added the public keys of knox and buttercup as well
Disabled password logins to harden the system
2021-09-13 10:03:07 +05:30
Amritanshu Agrawal 5bea488181 Allow the renaming of the main section by temporal product permission.
Allow deleting sections which do not have tables, but have associated section printers.
2021-09-04 13:14:27 +05:30
Amritanshu Agrawal 63dfe05044 Chore: Changed the Section Printer from Menu Categories to Sale Categories. This is more logical, in the older software, there as no concept of sale categories so menu categories was used.
This should make the whole thing much easier to update and read.
2021-09-04 12:57:56 +05:30
Amritanshu Agrawal 4a12ee0834 Allow editing of product version with the right permission. 2021-09-04 12:52:05 +05:30
Amritanshu Agrawal f929a731cb Feature: In the Beer Sale Report, you can choose the type of consumption
Chore: Sorted the product sale report by name
Fix: Voided bills now also include the old bill number
2021-08-17 07:37:17 +05:30
Amritanshu Agrawal 1515c33e7b arq is right now not compatible with aioredis 2.0.0 So pinning the aioredis to 1.3.1 for the time being 2021-08-10 11:38:44 +05:30
Amritanshu Agrawal beae4a07c6 Fix: Update Product Prices was one was used instead of all in query. 2021-08-10 09:31:08 +05:30
Amritanshu Agrawal 1ef7f98a07 Version Bump v9.6.0 2021-08-10 07:50:28 +05:30
Amritanshu Agrawal 70c9d22bbc Fix: Void bill now saves old bill id 2021-08-10 07:50:08 +05:30
Amritanshu Agrawal baefaeb228 Fix: Show would repeat the string n times instead of multiplying the integer 2021-08-09 23:07:04 +05:30
Amritanshu Agrawal 5e0e99340e Fix: Beer Sale Report checking for wrong dates. 2021-08-09 21:02:51 +05:30
Amritanshu Agrawal 5402d229f8 Fix: Product Sale Report would overwrite old value instead of adding to it in case the product had been updated and contained multiple product versions. 2021-08-07 17:03:16 +05:30
Amritanshu Agrawal 2f440a4127 Feature: Sale Category also shows the products in it to make it easier to check for errors. 2021-08-06 08:23:36 +05:30
Amritanshu Agrawal 0b3ec5da16 Fix: Product Detail / List would not show the quantity. 2021-08-06 08:20:18 +05:30
Amritanshu Agrawal afa4fd4711 Fix: Import was not working as Customer Model changed and borked the initial commit of the database. Created a table in the function to remove dependence from the model.
Now poetry requires "poetry run" before commands to run them in the container. Updated for it.
2021-07-31 16:26:25 +05:30
Amritanshu Agrawal eedc571ade Updated the docker and ansible files for setting up and building / running rasberry pi with the frank service
Still need to manually copy the new id_rsa created on the pi to knox.
2021-07-24 12:58:24 +05:30
Amritanshu Agrawal 5cd0acc7a9 Feature: Added Happy Hour Discount in the bill display and changed Net amount to Gross Amount.
Changed the color of running / printed tables to a brighter colors.
2021-07-05 08:38:26 +05:30
Amritanshu Agrawal c2483ae321 Fix: Edge cases where rounding due to changed quantities in printing was altering the final amount in decimals, at times resulted in final rounding to change up or down. 2021-07-05 08:28:38 +05:30
Amritanshu Agrawal 8c5d941850 Fix: Kots with product quantity = 0 were allowed. So blank kots could be added. 2021-07-04 08:32:55 +05:30
Amritanshu Agrawal 38ccaa167c Fix: If there were products with differing discounts in the final bill, the printed bill would show the wrong amount when it summed up the products. It would apply the discount rate of the first instance of the product too all of it. 2021-07-04 08:21:24 +05:30