Commit Graph
100 Commits
Author SHA1 Message Date
tanshu 5ff954deb6 Fix: Customers with no discount wouldn't show properly in sale / select customer 2021-09-20 09:16:54 +05:30
tanshu b70a296d8b Version Bump v9.8.0 2021-09-19 22:42:38 +05:30
tanshu 6379e5f4e3 Choose / Edit / Create customers during billing. 2021-09-19 22:42:27 +05:30
tanshu 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
tanshu 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
tanshu 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
tanshu 4a12ee0834 Allow editing of product version with the right permission. 2021-09-04 12:52:05 +05:30
tanshu 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
tanshu 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
tanshu beae4a07c6 Fix: Update Product Prices was one was used instead of all in query. 2021-08-10 09:31:08 +05:30
tanshu 1ef7f98a07 Version Bump v9.6.0 2021-08-10 07:50:28 +05:30
tanshu 70c9d22bbc Fix: Void bill now saves old bill id 2021-08-10 07:50:08 +05:30
tanshu baefaeb228 Fix: Show would repeat the string n times instead of multiplying the integer 2021-08-09 23:07:04 +05:30
tanshu 5e0e99340e Fix: Beer Sale Report checking for wrong dates. 2021-08-09 21:02:51 +05:30
tanshu 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
tanshu 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
tanshu 0b3ec5da16 Fix: Product Detail / List would not show the quantity. 2021-08-06 08:20:18 +05:30
tanshu 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
tanshu 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
tanshu 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
tanshu 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
tanshu 8c5d941850 Fix: Kots with product quantity = 0 were allowed. So blank kots could be added. 2021-07-04 08:32:55 +05:30
tanshu 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
tanshu 997e8e2dd0 Version Bump v9.5.0 2021-07-02 09:28:31 +05:30
tanshu 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
tanshu 5ece52ad55 Added option to view Voided bills 2021-07-02 09:05:37 +05:30
tanshu 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
tanshu 1287d8f7ac Fix: Whitespaces around the password/username were causing login failures. 2021-06-30 07:12:53 +05:30
tanshu 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
tanshu fd2659eee5 Added device location to home screen. 2021-06-28 08:41:58 +05:30
tanshu 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
tanshu 143ddfb860 Version Bump v9.4.0 2021-06-27 08:08:43 +05:30
tanshu 7247ac34f4 Feature: Product Sale Report printing. 2021-06-27 08:08:20 +05:30
tanshu a1a1c10dff Fix: Remove legacy otp from login and show the right device id. 2021-06-26 09:14:36 +05:30
tanshu 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
tanshu da9d58025c Fix: Reports should now take the Timezone Offset into consideration 2021-06-26 08:49:26 +05:30
tanshu 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
tanshu 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
tanshu 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
tanshu 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
tanshu 40aced4fa3 fix: When version was not bumped, deploy updated the version to blank 2021-06-22 05:37:53 +05:30
tanshu 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
tanshu 1c222872d2 Fix: Inactive Menu Categories should not show up in sales.
Trying to better cache dockerfile
2021-06-21 12:37:49 +05:30
tanshu 5d5439ae3b Version Bump v9.3.5 2021-06-21 12:04:59 +05:30
tanshu 4530a183c9 Fix: KOT Printing time was wrong. It showed the voucher time instead of kot time. 2021-06-21 12:04:02 +05:30
tanshu 7795f5ebef Version Bump v9.3.4 2021-06-21 10:48:19 +05:30
tanshu 15cd40d779 Fix: Allow linting to run without activating the poetry environment. 2021-06-21 10:47:33 +05:30
tanshu 27205f7790 Feature: Allow password change 2021-06-21 10:45:45 +05:30
tanshu 72b0e0e97d Chore: Crud 2021-06-19 12:35:12 +05:30
tanshu 6e284de75b Version Bump v9.3.3 2021-06-19 12:32:41 +05:30
tanshu 625a484bcd Chore: Updated poetry 2021-06-19 12:31:48 +05:30
tanshu 41431829f0 Version Bump v9.3.2 2021-06-19 10:51:48 +05:30
tanshu 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
tanshu 70d76f9951 Version Bump v9.3.1 2021-06-19 08:20:09 +05:30
tanshu d14250c0c7 Fix: Voucher Update would not filter out Zero quantity inventories. 2021-06-19 08:19:48 +05:30
tanshu 7cf6775ea1 Version Bump v9.3.0 2021-06-14 07:40:56 +05:30
tanshu d9a6c5d20f Fix: Open bill regex and the data sent by front-end was not compatible. 2021-06-14 07:40:43 +05:30
tanshu 83aa47b33a Version Bump v9.2.9 2021-06-13 18:40:03 +05:30
tanshu 66e541d50b Fix: Permission on Print Sale Report 2021-06-13 18:39:55 +05:30
tanshu 9961f2c3a1 Version Bump v9.2.8 2021-06-13 18:05:07 +05:30
tanshu 9f5a0b1209 Updated Dependencies 2021-06-13 18:04:55 +05:30
tanshu 1f516e75e6 Version Bump v9.2.7 2021-06-13 17:59:13 +05:30
tanshu 375e605e12 Fix: Dependency problem 2021-06-13 17:59:01 +05:30
tanshu defba7636c Version Bump v9.2.6 2021-06-13 17:54:46 +05:30
tanshu 12a361aff1 Fix: Could not print bill if discount permission not allowed 2021-06-13 17:54:04 +05:30
tanshu a4d389bba5 Chore: Upgraded to Angular v12 2021-05-16 10:31:18 +05:30
tanshu e1b824dce5 Version Bump v9.2.5 2021-04-27 07:23:47 +05:30
tanshu f78ad68235 Fix: The route to update sort order of Menu Categories was not written. 2021-04-27 07:22:32 +05:30
tanshu 59bab991fd Version Bump v9.2.4 2021-04-24 09:10:37 +05:30
tanshu 2f0ef397cf Fix: Disable pull to refresh in chrome. 2021-04-24 09:09:57 +05:30
tanshu 87402871a5 Version Bump v9.2.3 2021-04-24 00:47:41 +05:30
tanshu f410d4a69e Fix: Hopefully this will disable adroid chrome pull to refresh according to
https://developers.google.com/web/updates/2017/11/overscroll-behavior
2021-04-24 00:47:16 +05:30
tanshu 31e9071713 Chore: Forgot to add these files on dependency upgrade 2021-04-24 00:45:46 +05:30
tanshu 74e67a98e6 Fix: Editing printed bill will also print the new kot (if any) 2021-04-24 00:45:14 +05:30
tanshu e144175fe0 Version Bump v9.2.2 2021-04-24 00:06:33 +05:30
tanshu e66716710a Fix: Checking for product reductions would check the product version id and not the product id resulting in wrong error message that the quantitity cannot be reduced. 2021-04-24 00:05:06 +05:30
tanshu 76b27417d4 Chore: Updated dependencies 2021-04-23 13:17:14 +05:30
tanshu a29e9b8789 Version Bump v9.2.1 2021-04-23 01:00:59 +05:30
tanshu 2b22d6c4b5 Feature: When a new product is added, it adds modifiers which apply to the whole menu category. 2021-04-23 01:00:35 +05:30
tanshu 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
tanshu 581d9ca507 Version Bump v9.2.0 2021-04-17 14:33:50 +05:30
tanshu e753ee625f Mohali docker playbook with env file. 2021-04-17 14:33:23 +05:30
tanshu 12f63cec73 Fix: Bill when printed was mangling up the taxes and amounts massively.
This was when we would make a dictionary of inventories and update quantities.
2021-04-17 14:32:55 +05:30
tanshu 2612da063b Version Bump v9.1.3 2021-04-15 20:13:20 +05:30
tanshu 438e99b6b0 Fix: Section Printer update would keep adding multiple default rows.
Fix: Kot select printer would have 1-2 rows, one with the null menu category and another (maybe) with the correct menu category.
2021-04-15 20:12:52 +05:30
tanshu 862892d7a1 Version Bump v9.1.2 2021-04-12 09:02:53 +05:30
tanshu d92cd295e1 Fix: Product list would not show as MenuCategoryLink needs list of products 2021-04-12 09:01:46 +05:30
tanshu 0477fde460 Version Bump v9.1.1 2021-04-10 08:57:43 +05:30
tanshu 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
tanshu ac0b8d2565 Version Bump v9.1.0 2021-04-09 09:34:37 +05:30
tanshu 4e827c2bd0 Feature: Added ability to change / choose pax once the table is running. 2021-04-09 09:33:53 +05:30
tanshu 4448869652 Fix: Menu category would only show active ones. 2021-04-09 09:32:08 +05:30
tanshu 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
tanshu c0a4956fd4 Version Bump v9.0.5 2021-04-06 09:33:39 +05:30
tanshu b9c3b7eda5 Fix: Running tables view was showing wrong datetime. 2021-04-06 09:33:12 +05:30
tanshu 00730c1463 Hack: During import increase Tax rate from 2.5% to 5% for GST. 2021-04-06 09:24:53 +05:30
tanshu 32c74c65fc Version Bump v9.0.4 2021-04-06 08:51:17 +05:30
tanshu 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
tanshu 823808d402 Version Bump v9.0.3 2021-04-05 08:21:31 +05:30
tanshu 54d205eebe Fix: Printer edit shows the proper hex values in printer edit and import the right hex value from old database 2021-04-05 08:20:45 +05:30