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.
tanshu2021-04-24 00:05:06 +05:30
2b22d6c4b5
Feature: When a new product is added, it adds modifiers which apply to the whole menu category.
tanshu2021-04-23 01:00:35 +05:30
35a431d37e
Fix: Do not store timezone in database. I am using UTC everywhere and use of timezones messes up date comparison.
tanshu2021-04-23 00:58:24 +05:30
e753ee625f
Mohali docker playbook with env file.
tanshu2021-04-17 14:33:23 +05:30
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.
tanshu2021-04-17 14:32:55 +05:30
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.
tanshu2021-04-15 20:12:52 +05:30
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.
tanshu2021-04-10 08:57:04 +05:30
07d13898c3
Fix: Dates in old imported data should be at UTC time. Fix: Use utc now for dates to have consistent dates across timezones.
tanshu2021-04-06 08:50:37 +05:30
54d205eebe
Fix: Printer edit shows the proper hex values in printer edit and import the right hex value from old database
tanshu2021-04-05 08:20:45 +05:30
31ae068cab
Worker container is not created anymore as this functionality has moved to frank.
tanshu2021-04-02 06:59:42 +05:30
97579ea9d3
Dates and times should now be handled properly once the server is set on UTC time and the proper timezone offset environment variable is set.
tanshu2021-04-02 06:58:38 +05:30
0da16e9548
Feature: Added the customer module to list / edit customers. This is needed to add the customer discount functionality
tanshu2021-04-02 06:34:31 +05:30
f4caa19bb2
Moved printing into its own separate project called frank. It also has its own toml and deployement system. It also works on a raspberry pi
tanshu2021-03-23 18:18:33 +05:30
669821a643
Using Half-Round-Even rounding in the bill amounts as this is what python round uses. When the bill amounts were Odd number + .5, payment could not be received as javascript rounded it up, but python rounded it down. We are now using the python rounding (Half Round Even / Banker's Rounding) in the bill service.
tanshu2021-03-20 08:05:50 +05:30
c29fde0cb0
Printer Cut Code should be properly handled now in editing as well. Worker will retry a failed job. The worker was using the wrong queue name.
tanshu2021-03-19 08:06:37 +05:30
592f26af20
Fix: The server was also using the worker settings to communicate with redis. This led to it using the default host and port as the backend .env files do not contain worker settings.
tanshu2021-03-19 06:54:55 +05:30
e8d178a248
Fix: ORM Borked when models were split into their own files and product could not find this relation
tanshu2021-03-18 18:03:28 +05:30
088982c6d4
Printer import now assigns the cut code for TM-m30 Also, hard-coding of the cut string is removed. Now need to see how it will be handled in update printer
tanshu2021-03-18 17:48:31 +05:30
52943c7ee0
Made the import script more versatile
tanshu2021-03-18 17:20:48 +05:30
d851714136
Printing working now. The env file for the worker needs to know the printer name. Then, the address can be used to print the data.
tanshu2021-03-17 09:43:19 +05:30
ea2bfb1c0c
Chore: Moved individual models into their own files. Chore: Updated dependencies.
tanshu2021-03-17 09:39:56 +05:30
161896154d
Feature: Open bill using bill number
tanshu2020-12-24 12:58:46 +05:30
98c75f66c9
Fix: Cancel bill printing if discount dialog is cancelled.
tanshu2020-12-24 09:26:34 +05:30
7b327b4fda
Feature: Discount will only update the sale types which have been updated in the form.
tanshu2020-12-24 09:26:05 +05:30
565cffaef1
Fix: Kot move fixed. Kot id was missing on move. Also, voucher_type KOT as truthy not and would give bill not found error.
tanshu2020-12-24 09:10:55 +05:30
8bb6235e67
Fix: Receive Payment Since the amount Behaviour Subject pipe was not being subscribed to and the original Behaviour Subject as being subscribed, amountVal was not being populated. Now it will be. This was creating problem where amount in receive payment was always 0 Added a check in the backend so that if any part of bill remains unsettled, it will give an error instead of silently accepting and removing the entry.
tanshu2020-12-19 09:09:10 +05:30
b70b01b726
Back to table / product group order changed to have the back button in the beginning The bill now highlights the happy hour products.
tanshu2020-12-18 13:24:50 +05:30
f28cf1eea0
Split bill working along with all checks. Update bill ensures that the total number of happy hour punches of a product in a bill are less than or equal to the regular punches
tanshu2020-12-18 13:24:05 +05:30