Commit Graph

  • 516b22ed1c Refactored customer discount and choose discount. They were using the same schema unnecessarily which was leading to confusion. tanshu 2023-03-06 21:04:44 +05:30
  • c5eaeb1497 Fix: Receive payment did not show display reason tanshu 2023-03-06 10:35:17 +05:30
  • f408e84af3 Added traceback to save voucher to better understand why an error occurs. tanshu 2023-03-06 10:21:27 +05:30
  • 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 tanshu 2023-03-05 23:50:41 +05:30
  • 802eded568 Due to update to sqlalchemy, fixed schema nullability tanshu 2023-02-26 19:51:29 +05:30
  • 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 tanshu 2023-02-20 18:49:17 +05:30
  • 792ccf923f Chore: Upgraded to Angular 14 tanshu 2022-07-06 09:04:10 +05:30
  • f637f01954 Version Bump v10.3.3 v10.3.3 tanshu 2022-06-21 12:40:35 +05:30
  • 236c746e1c Fix: Suddenly got errors saying that the redis.enqueue job was running in a different loop tanshu 2022-06-21 12:39:51 +05:30
  • a4db3b24f0 Version Bump v10.3.2 v10.3.2 tanshu 2022-06-21 08:54:51 +05:30
  • 9f4ec3697c Fix: Frank service changed to beacon from knox tanshu 2022-06-21 08:54:45 +05:30
  • 9fe84800a7 Chore: Dockerfile also updated tanshu 2022-06-21 08:53:37 +05:30
  • f73de53d21 Version Bump v10.3.1 v10.3.1 tanshu 2022-06-21 08:44:58 +05:30
  • e37d160b7c Fix: Square brackets made the expression a list and the next generator would not work on it tanshu 2022-06-21 08:44:00 +05:30
  • 61bb62475b Chore: Updated dependencies and moved to Python 3.10 method of type hinting tanshu 2022-06-21 08:41:57 +05:30
  • 2f1f9eee1f Version Bump v10.3.0 v10.3.0 tanshu 2022-04-26 09:07:07 +05:30
  • f9124abb6c Moved ssh and redis tunneling from knox to beacon tanshu 2022-04-26 09:03:10 +05:30
  • 09a8fdfecc Chore: some mypy fixes tanshu 2022-04-26 08:59:42 +05:30
  • 7a2ccb7fb1 Fix: Sale Report won't add sales of printed but yet unsettled bills to Category wise sale. tanshu 2022-04-26 08:47:55 +05:30
  • 1eccd7f9d5 Version Bump v10.2.2 v10.2.2 tanshu 2022-04-16 17:29:49 +05:30
  • a213c1a0b5 Added: Process id to log. Added: Max workers to all .envs Added: Leardall service Added: beacon redis tunnel tanshu 2022-04-16 17:28:00 +05:30
  • 1a8992c296 Version Bump v10.2.1 v10.2.1 tanshu 2022-04-16 08:44:24 +05:30
  • 676719917a Fix: Wrong parameter to gunicorn run. This as anyway a bit of trial and error tanshu 2022-04-16 08:44:17 +05:30
  • 1071b57484 Version Bump v10.2.0 v10.2.0 tanshu 2022-04-16 07:59:48 +05:30
  • 3eaf4cd41d Using gunicorn to run upto 4 workers. This should fix the problems of the whole program crashing. tanshu 2022-04-16 07:57:18 +05:30
  • c494284517 Linting broke for v10+ as the regex only matched one digit tanshu 2022-04-03 07:32:35 +05:30
  • 34ced063a1 Version Bump v10.1.1 v10.1.1 tanshu 2022-04-03 07:31:38 +05:30
  • 59f47e046b Version Bump v10.1.0 tanshu 2022-04-03 07:31:27 +05:30
  • 54c797d1a8 Set strict mode on the scripts tanshu 2022-04-03 07:27:12 +05:30
  • d43aab0b23 Chore: Updated linter changed this. tanshu 2022-04-03 07:26:40 +05:30
  • 1f1a9a13cd Chore: Update dependencies Version Bump v10.1.0 tanshu 2022-04-02 10:00:05 +05:30
  • d9d5754e26 Removed async as I suspect it was crashing the entire application. tanshu 2022-04-02 09:59:26 +05:30
  • ef27e92674 Version Bump v10.1.0 v10.1.0 tanshu 2022-04-02 09:55:51 +05:30
  • 13e19162a0 Chore: Updated to angular 13 v10.0.1 tanshu 2021-12-29 07:50:07 +05:30
  • 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 tanshu 2021-12-29 07:49:23 +05:30
  • 1a4e51051c Version Bump v10.0.0 v10.0.0 tanshu 2021-10-29 08:06:35 +05:30
  • ee7a24fa77 Minor cleanup tanshu 2021-10-29 08:06:23 +05:30
  • ef9e28c95b Docker: Updated the dockerfile and deploy script to better use docker cacheing tanshu 2021-10-28 09:55:09 +05:30
  • 0837aebfb8 Chore: Updated dependencies tanshu 2021-10-27 10:30:57 +05:30
  • 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 tanshu 2021-10-27 09:27:47 +05:30
  • debe0df7b7 Chore: Fix import of Observable to be from rxjs and not rxjs/internal. It was maybe causing optimization bailouts tanshu 2021-09-20 09:27:33 +05:30
  • 5ff954deb6 Fix: Customers with no discount wouldn't show properly in sale / select customer tanshu 2021-09-20 09:16:54 +05:30
  • b70a296d8b Version Bump v9.8.0 v9.8.0 tanshu 2021-09-19 22:42:38 +05:30
  • 6379e5f4e3 Choose / Edit / Create customers during billing. tanshu 2021-09-19 22:34:37 +05:30
  • c478290da0 Added the public keys of knox and buttercup as well Disabled password logins to harden the system tanshu 2021-09-12 18:46:41 +05:30
  • 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. tanshu 2021-09-04 13:08:46 +05:30
  • 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. tanshu 2021-09-04 12:57:56 +05:30
  • 4a12ee0834 Allow editing of product version with the right permission. tanshu 2021-09-04 12:52:05 +05:30
  • 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 tanshu 2021-08-17 07:26:54 +05:30
  • 1515c33e7b arq is right now not compatible with aioredis 2.0.0 So pinning the aioredis to 1.3.1 for the time being tanshu 2021-08-10 11:29:53 +05:30
  • 5e2e13478b Version Bump v9.7.0 v9.7.0 tanshu 2021-08-10 11:30:01 +05:30
  • 87ae624ec2 arq is right now not compatible with aioredis 2.0.0 So pinning the aioredis to 1.3.1 for the time being tanshu 2021-08-10 11:29:53 +05:30
  • beae4a07c6 Fix: Update Product Prices was one was used instead of all in query. tanshu 2021-08-10 09:31:08 +05:30
  • 1ef7f98a07 Version Bump v9.6.0 v9.6.0 tanshu 2021-08-10 07:50:28 +05:30
  • 70c9d22bbc Fix: Void bill now saves old bill id tanshu 2021-08-10 07:50:08 +05:30
  • baefaeb228 Fix: Show would repeat the string n times instead of multiplying the integer tanshu 2021-08-09 23:07:04 +05:30
  • 5e0e99340e Fix: Beer Sale Report checking for wrong dates. tanshu 2021-08-09 21:02:51 +05:30
  • 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. tanshu 2021-08-07 17:03:16 +05:30
  • 2f440a4127 Feature: Sale Category also shows the products in it to make it easier to check for errors. tanshu 2021-08-06 08:23:36 +05:30
  • 0b3ec5da16 Fix: Product Detail / List would not show the quantity. tanshu 2021-08-06 08:20:18 +05:30
  • 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. tanshu 2021-07-31 16:09:41 +05:30
  • eedc571ade Updated the docker and ansible files for setting up and building / running rasberry pi with the frank service tanshu 2021-07-24 12:57:34 +05:30
  • 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. tanshu 2021-07-05 08:29:15 +05:30
  • 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. tanshu 2021-07-05 08:28:38 +05:30
  • 8c5d941850 Fix: Kots with product quantity = 0 were allowed. So blank kots could be added. tanshu 2021-07-04 08:32:55 +05:30
  • 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. tanshu 2021-07-04 08:21:24 +05:30
  • 997e8e2dd0 Version Bump v9.5.0 v9.5.0 tanshu 2021-07-02 09:28:31 +05:30
  • c73b812911 Fix: Rare case where after bill is printed and nother kot added, the void bill kots have same time and a wrong kot can be printed. This orders the kots by code, not time and so should take care of the issue tanshu 2021-07-02 09:28:12 +05:30
  • 5ece52ad55 Added option to view Voided bills tanshu 2021-07-02 09:05:37 +05:30
  • 17702a433b Fix: Bill Deactivate guard was running when printing kots / bills when items were added to new kot. tanshu 2021-07-02 09:05:07 +05:30
  • 1287d8f7ac Fix: Whitespaces around the password/username were causing login failures. tanshu 2021-06-30 07:12:53 +05:30
  • 0d41c0e345 Feature: Exit guard if bill is dirty is sales to prevent accidentally backing out of a bill with data. tanshu 2021-06-29 08:58:07 +05:30
  • fd2659eee5 Added device location to home screen. tanshu 2021-06-28 08:41:58 +05:30
  • db5f2731be Feature: Added a column called print in bill to the table customer. This will prevent printing all customer's names and phone numbers in the bill in case of simple walkins. This is a breaking change as there is schema changes in the database. It also bolds the customers who are to be printed in the bill in the running tables list. tanshu 2021-06-28 08:41:32 +05:30
  • 143ddfb860 Version Bump v9.4.0 v9.4.0 tanshu 2021-06-27 08:08:43 +05:30
  • 7247ac34f4 Feature: Product Sale Report printing. tanshu 2021-06-27 08:08:20 +05:30
  • a1a1c10dff Fix: Remove legacy otp from login and show the right device id. tanshu 2021-06-26 09:14:36 +05:30
  • eb2f783b9e Feature: Tax report and consequently sale report should show tax broken up properly for taxes such as GST tanshu 2021-06-26 08:50:41 +05:30
  • da9d58025c Fix: Reports should now take the Timezone Offset into consideration tanshu 2021-06-26 08:49:26 +05:30
  • 77dad64eab Fix: Login errors were not helpful as error.details NOTICE THE "S" typo gobbled up the error message. Also changed client to device tanshu 2021-06-26 08:46:22 +05:30
  • e0ef5e7b64 Fix: Rounding error prevented some bills from getting settled. This is related to the half even rounding in python. tanshu 2021-06-26 08:45:24 +05:30
  • ca3a599386 Fix: The bill settlement report was showing the wrong time, without taking into account the timezone. tanshu 2021-06-23 22:27:28 +05:30
  • 8a243fe387 Update frank to latest arq. We are having issues with duplicate kots being printed. This might be because the server arq is updated. Also added the frank service and build frank script to the frank playbook so that new containers can be built on the device when ansible is not an option tanshu 2021-06-23 09:41:56 +05:30
  • 40aced4fa3 fix: When version was not bumped, deploy updated the version to blank tanshu 2021-06-22 05:34:11 +05:30
  • a24d3107de Version Bump v v tanshu 2021-06-22 05:34:11 +05:30
  • 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. tanshu 2021-06-22 05:34:02 +05:30
  • 1c222872d2 Fix: Inactive Menu Categories should not show up in sales. Trying to better cache dockerfile tanshu 2021-06-21 12:37:49 +05:30
  • 5d5439ae3b Version Bump v9.3.5 v9.3.5 tanshu 2021-06-21 12:04:59 +05:30
  • 4530a183c9 Fix: KOT Printing time was wrong. It showed the voucher time instead of kot time. tanshu 2021-06-21 12:04:02 +05:30
  • 7795f5ebef Version Bump v9.3.4 v9.3.4 tanshu 2021-06-21 10:48:19 +05:30
  • 15cd40d779 Fix: Allow linting to run without activating the poetry environment. tanshu 2021-06-21 10:47:33 +05:30
  • 27205f7790 Feature: Allow password change tanshu 2021-06-21 10:45:45 +05:30
  • 72b0e0e97d Chore: Crud tanshu 2021-06-19 12:35:12 +05:30
  • 6e284de75b Version Bump v9.3.3 v9.3.3 tanshu 2021-06-19 12:32:41 +05:30
  • 625a484bcd Chore: Updated poetry tanshu 2021-06-19 12:31:48 +05:30
  • 41431829f0 Version Bump v9.3.2 v9.3.2 tanshu 2021-06-19 10:51:48 +05:30
  • b47715bc22 Chore: Updated dependencies Chore: Added the set -e command to deploy so that it quits on errors tanshu 2021-06-19 10:51:37 +05:30
  • 70d76f9951 Version Bump v9.3.1 v9.3.1 tanshu 2021-06-19 08:20:09 +05:30
  • d14250c0c7 Fix: Voucher Update would not filter out Zero quantity inventories. tanshu 2021-06-19 08:19:48 +05:30
  • 7cf6775ea1 Version Bump v9.3.0 v9.3.0 tanshu 2021-06-14 07:40:56 +05:30