Commit Graph

388 Commits

Author SHA1 Message Date
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
Amritanshu Agrawal 997e8e2dd0 Version Bump v9.5.0 2021-07-02 09:28:31 +05:30
Amritanshu Agrawal 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
2021-07-02 09:28:12 +05:30
Amritanshu Agrawal 5ece52ad55 Added option to view Voided bills 2021-07-02 09:05:37 +05:30
Amritanshu Agrawal 17702a433b Fix: Bill Deactivate guard was running when printing kots / bills when items were added to new kot. 2021-07-02 09:05:07 +05:30
Amritanshu Agrawal 1287d8f7ac Fix: Whitespaces around the password/username were causing login failures. 2021-06-30 07:12:53 +05:30
Amritanshu Agrawal 0d41c0e345 Feature: Exit guard if bill is dirty is sales to prevent accidentally backing out of a bill with data. 2021-06-29 08:58:07 +05:30
Amritanshu Agrawal fd2659eee5 Added device location to home screen. 2021-06-28 08:41:58 +05:30
Amritanshu Agrawal 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.
2021-06-28 08:41:32 +05:30
Amritanshu Agrawal 143ddfb860 Version Bump v9.4.0 2021-06-27 08:08:43 +05:30
Amritanshu Agrawal 7247ac34f4 Feature: Product Sale Report printing. 2021-06-27 08:08:20 +05:30
Amritanshu Agrawal a1a1c10dff Fix: Remove legacy otp from login and show the right device id. 2021-06-26 09:14:36 +05:30
Amritanshu Agrawal eb2f783b9e Feature: Tax report and consequently sale report should show tax broken up properly for taxes such as GST 2021-06-26 08:50:41 +05:30
Amritanshu Agrawal da9d58025c Fix: Reports should now take the Timezone Offset into consideration 2021-06-26 08:49:26 +05:30
Amritanshu Agrawal 77dad64eab Fix: Login errors were not helpful as error.details NOTICE THE "S" typo gobbled up the error message.
Also changed client to device
2021-06-26 08:46:22 +05:30
Amritanshu Agrawal e0ef5e7b64 Fix: Rounding error prevented some bills from getting settled. This is related to the half even rounding in python. 2021-06-26 08:45:24 +05:30
Amritanshu Agrawal ca3a599386 Fix: The bill settlement report was showing the wrong time, without taking into account the timezone. 2021-06-23 22:27:28 +05:30
Amritanshu Agrawal 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
2021-06-23 09:41:56 +05:30
Amritanshu Agrawal 40aced4fa3 fix: When version was not bumped, deploy updated the version to blank 2021-06-22 05:37:53 +05:30
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 1c222872d2 Fix: Inactive Menu Categories should not show up in sales.
Trying to better cache dockerfile
2021-06-21 12:37:49 +05:30
Amritanshu Agrawal 5d5439ae3b Version Bump v9.3.5 2021-06-21 12:04:59 +05:30
Amritanshu Agrawal 4530a183c9 Fix: KOT Printing time was wrong. It showed the voucher time instead of kot time. 2021-06-21 12:04:02 +05:30
Amritanshu Agrawal 7795f5ebef Version Bump v9.3.4 2021-06-21 10:48:19 +05:30
Amritanshu Agrawal 15cd40d779 Fix: Allow linting to run without activating the poetry environment. 2021-06-21 10:47:33 +05:30
Amritanshu Agrawal 27205f7790 Feature: Allow password change 2021-06-21 10:45:45 +05:30
Amritanshu Agrawal 72b0e0e97d Chore: Crud 2021-06-19 12:35:12 +05:30
Amritanshu Agrawal 6e284de75b Version Bump v9.3.3 2021-06-19 12:32:41 +05:30
Amritanshu Agrawal 625a484bcd Chore: Updated poetry 2021-06-19 12:31:48 +05:30
Amritanshu Agrawal 41431829f0 Version Bump v9.3.2 2021-06-19 10:51:48 +05:30
Amritanshu Agrawal b47715bc22 Chore: Updated dependencies
Chore: Added the set -e command to deploy so that it quits on errors
2021-06-19 10:51:37 +05:30
Amritanshu Agrawal 70d76f9951 Version Bump v9.3.1 2021-06-19 08:20:09 +05:30
Amritanshu Agrawal d14250c0c7 Fix: Voucher Update would not filter out Zero quantity inventories. 2021-06-19 08:19:48 +05:30