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 +05:30
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 +05:30
31ae068cabWorker container is not created anymore as this functionality has moved to frank.tanshu2021-04-02 06:59:42 +05:30
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 +05:30
0da16e9548Feature: Added the customer module to list / edit customers. This is needed to add the customer discount functionalitytanshu2021-04-02 06:34:31 +05:30
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 +05:30
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 +05:30
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 +05:30
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 +05:30
e8d178a248Fix: ORM Borked when models were split into their own files and product could not find this relationtanshu2021-03-18 18:03:28 +05:30
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 +05:30
52943c7ee0Made the import script more versatiletanshu2021-03-18 17:20:48 +05:30
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 +05:30
ea2bfb1c0cChore: Moved individual models into their own files. Chore: Updated dependencies.tanshu2021-03-17 09:39:56 +05:30
161896154dFeature: Open bill using bill numbertanshu2020-12-24 12:58:46 +05:30
98c75f66c9Fix: Cancel bill printing if discount dialog is cancelled.tanshu2020-12-24 09:26:34 +05:30
7b327b4fdaFeature: Discount will only update the sale types which have been updated in the form.tanshu2020-12-24 09:26:05 +05:30
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 +05:30
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 +05:30
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 +05:30
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 +05:30
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 +05:30
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 +05:30
28952402aaFix: Loaded voucher was not showing H H name in Happy Hour productstanshu2020-12-16 12:28:39 +05:30
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 +05:30
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 +05:30
afc58d566cFix: Permissions for header-footer. The persission Owner is only for Settle Option and Header / Footertanshu2020-12-13 13:19:42 +05:30
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 +05:30
27aa4d12a6Settle Options are now stored in the Database and can be updatedtanshu2020-12-13 09:44:32 +05:30
d65379a068Chore: ng lint using the recommended @angular-eslint styletanshu2020-12-08 18:50:46 +05:30
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 +05:30
88f5b26948Import marks inactive products as valid till one day before importtanshu2020-11-15 12:58:12 +05:30
163b40e9e5Simplified some permissions Renamed Accounts Audit to Audit Renamed Machines to Devices as it made sense Sections and Tables are now under Sections Permission Guest Book is now under Customers Permission Renamed Beer Consumption Report to Beer Sale Report Fix: Move Kot and Table to check what the final effect istanshu2020-11-15 12:26:24 +05:30
67cb1e3d80Fix: Save/Update voucher - timedelta was days instead of minutes Fix: Product list for sale was sending product_version_id instead of version_id this was borking on products with multiple versions Change: Update Product Prices initially does not show list. Only the date and Menu Category Listtanshu2020-11-13 09:34:49 +05:30