Commit Graph

303 Commits

Author SHA1 Message Date
d43aab0b23 Chore: Updated linter changed this. 2022-04-03 07:26:40 +05:30
1f1a9a13cd Chore: Update dependencies
Version Bump v10.1.0
2022-04-02 10:00:31 +05:30
d9d5754e26 Removed async as I suspect it was crashing the entire application. 2022-04-02 09:59:26 +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
2021-12-29 07:49:23 +05:30
1a4e51051c Version Bump v10.0.0 2021-10-29 08:06:35 +05:30
ee7a24fa77 Minor cleanup 2021-10-29 08:06:23 +05:30
ef9e28c95b Docker: Updated the dockerfile and deploy script to better use docker cacheing 2021-10-28 09:55:09 +05:30
0837aebfb8 Chore: Updated dependencies 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
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 2021-09-20 09:30:00 +05:30
5ff954deb6 Fix: Customers with no discount wouldn't show properly in sale / select customer 2021-09-20 09:16:54 +05:30
b70a296d8b Version Bump v9.8.0 2021-09-19 22:42:38 +05:30
6379e5f4e3 Choose / Edit / Create customers during billing. 2021-09-19 22:42:27 +05:30
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
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
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
4a12ee0834 Allow editing of product version with the right permission. 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
2021-08-17 07:37:17 +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 2021-08-10 11:38:44 +05:30
beae4a07c6 Fix: Update Product Prices was one was used instead of all in query. 2021-08-10 09:31:08 +05:30
1ef7f98a07 Version Bump v9.6.0 2021-08-10 07:50:28 +05:30
70c9d22bbc Fix: Void bill now saves old bill id 2021-08-10 07:50:08 +05:30
baefaeb228 Fix: Show would repeat the string n times instead of multiplying the integer 2021-08-09 23:07:04 +05:30
5e0e99340e Fix: Beer Sale Report checking for wrong dates. 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. 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. 2021-08-06 08:23:36 +05:30
0b3ec5da16 Fix: Product Detail / List would not show the quantity. 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.
2021-07-31 16:26:25 +05:30
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
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
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
8c5d941850 Fix: Kots with product quantity = 0 were allowed. So blank kots could be added. 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. 2021-07-04 08:21:24 +05:30
997e8e2dd0 Version Bump v9.5.0 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
2021-07-02 09:28:12 +05:30
5ece52ad55 Added option to view Voided bills 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. 2021-07-02 09:05:07 +05:30
1287d8f7ac Fix: Whitespaces around the password/username were causing login failures. 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. 2021-06-29 08:58:07 +05:30
fd2659eee5 Added device location to home screen. 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.
2021-06-28 08:41:32 +05:30
143ddfb860 Version Bump v9.4.0 2021-06-27 08:08:43 +05:30
7247ac34f4 Feature: Product Sale Report printing. 2021-06-27 08:08:20 +05:30
a1a1c10dff Fix: Remove legacy otp from login and show the right device id. 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 2021-06-26 08:50:41 +05:30
da9d58025c Fix: Reports should now take the Timezone Offset into consideration 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
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. 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. 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
2021-06-23 09:41:56 +05:30