e66716710aFix: 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 +0530
2b22d6c4b5Feature: When a new product is added, it adds modifiers which apply to the whole menu category.tanshu2021-04-23 01:00:35 +0530
35a431d37eFix: 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 +0530
e753ee625fMohali docker playbook with env file.tanshu2021-04-17 14:33:23 +0530
12f63cec73Fix: 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 +0530
438e99b6b0Fix: 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 +0530
9c0936e772Fix: 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 +0530
07d13898c3Fix: 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 +0530
54d205eebeFix: Printer edit shows the proper hex values in printer edit and import the right hex value from old databasetanshu2021-04-05 08:20:45 +0530
31ae068cabWorker container is not created anymore as this functionality has moved to frank.tanshu2021-04-02 06:59:42 +0530
97579ea9d3Dates 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 +0530
0da16e9548Feature: Added the customer module to list / edit customers. This is needed to add the customer discount functionalitytanshu2021-04-02 06:34:31 +0530
f4caa19bb2Moved printing into its own separate project called frank. It also has its own toml and deployement system. It also works on a raspberry pitanshu2021-03-23 18:18:33 +0530
669821a643Using 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 +0530
c29fde0cb0Printer 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 +0530
592f26af20Fix: 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 +0530
e8d178a248Fix: ORM Borked when models were split into their own files and product could not find this relationtanshu2021-03-18 18:03:28 +0530
088982c6d4Printer 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 printertanshu2021-03-18 17:48:31 +0530
52943c7ee0Made the import script more versatiletanshu2021-03-18 17:20:48 +0530
d851714136Printing 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 +0530
ea2bfb1c0cChore: Moved individual models into their own files. Chore: Updated dependencies.tanshu2021-03-17 09:39:56 +0530
161896154dFeature: Open bill using bill numbertanshu2020-12-24 12:58:46 +0530
98c75f66c9Fix: Cancel bill printing if discount dialog is cancelled.tanshu2020-12-24 09:26:34 +0530
7b327b4fdaFeature: Discount will only update the sale types which have been updated in the form.tanshu2020-12-24 09:26:05 +0530
565cffaef1Fix: 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 +0530
8bb6235e67Fix: 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 +0530
b70b01b726Back 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 +0530
f28cf1eea0Split 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 punchestanshu2020-12-18 13:24:05 +0530
608dde4619Fix: Modifier Category was borking as it was sending the product version id instead of product id in modifier category infotanshu2020-12-18 12:53:08 +0530
6c83c74424Chore: In overlord / sale / bill.service now the BillViewItem is just a view item The data is kept as the original bill object and this view generated on every change. It has no sanctity.tanshu2020-12-16 22:34:41 +0530
28952402aaFix: Loaded voucher was not showing H H name in Happy Hour productstanshu2020-12-16 12:28:39 +0530
e4500f0d46Breaking: Discount is applicable on sale category and not on menu category Fix the import, etc on this. While entering discount in sale, it checks the max allowed.tanshu2020-12-16 11:49:22 +0530
22de4f7624Fix: Reports were not working as they were not adapted to the new Enums Fix: The docker image borked on printing as it did not have the en_IN locale Fix: Angular errored as it needed typescript < 4.1.0 Fix: chd yml had a typo in host nametanshu2020-12-15 22:15:51 +0530
afc58d566cFix: Permissions for header-footer. The persission Owner is only for Settle Option and Header / Footertanshu2020-12-13 13:19:42 +0530
3ad73dff1cFeature: Now a tax can be broken up into multiple components while bill printing. This is especially for GST. The format for the tax name is "Display name 1 (Ratio eg. 1/2) ; Display name 1 (Ratio eg. 1/2)" eg. "SGST on Food @ 2.5% (1/2) ; CGST on Food @ 2.5% (1/2)" or "UTGST on Food @ 2.5% (1/2) ; CGST on Food @ 2.5% (1/2)"tanshu2020-12-13 13:14:19 +0530
27aa4d12a6Settle Options are now stored in the Database and can be updatedtanshu2020-12-13 09:44:32 +0530
d65379a068Chore: ng lint using the recommended @angular-eslint styletanshu2020-12-08 18:50:46 +0530
e16e1822b8Fix: Modifier Categories was not showing the names of Menu Categories in Modifier Category Detail Component. This was because the Menu Category Link had only the id field. Took this time to improve the Modifier route.tanshu2020-11-25 12:38:22 +0530