Commit Graph

218 Commits

Author SHA1 Message Date
e99b8f3070 Version Bump v7.1.1 2021-03-18 21:04:09 +05:30
e8d178a248 Fix: ORM Borked when models were split into their own files and product could not find this relation 2021-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
2021-03-18 17:52:54 +05:30
52943c7ee0 Made the import script more versatile 2021-03-18 17:20:48 +05:30
1163989866 Updated Dockerfiles 2021-03-18 17:19:14 +05:30
30685e10a8 Version Bump v7.1.0 2021-03-18 07:12:55 +05:30
2374fd7347 Chore: Updated angular and other javascript dependencies 2021-03-18 07:11:41 +05:30
4257db020d Version Bump v7.0.0 2021-03-17 10:02:17 +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.
2021-03-17 09:43:19 +05:30
ea2bfb1c0c Chore: Moved individual models into their own files.
Chore: Updated dependencies.
2021-03-17 09:39:56 +05:30
716c74c974 Version Bump v6.3.0 2020-12-25 11:47:35 +05:30
41d4ef1200 Added feature: Split bill by Sales Category if no item is selected. 2020-12-25 11:47:03 +05:30
6257313792 Version Bump v6.2.0 2020-12-24 12:59:44 +05:30
161896154d Feature: Open bill using bill number 2020-12-24 12:58:46 +05:30
98c75f66c9 Fix: Cancel bill printing if discount dialog is cancelled. 2020-12-24 09:26:34 +05:30
7b327b4fda Feature: Discount will only update the sale types which have been updated in the form. 2020-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. 2020-12-24 09:10:55 +05:30
7550ced477 Version Bump v6.1.5 2020-12-21 11:24:42 +05:30
b85e930ace Moved all auth schemas into their own files. Updated imports. 2020-12-21 11:18:58 +05:30
c6da3b9e38 Version Bump v6.1.4 2020-12-21 08:03:15 +05:30
4386ee45b8 Fix: Add Tax was not working as TaxIn required a name with length more than 1. 2020-12-21 08:02:36 +05:30
f65c19ce1a Version Bump v6.1.3 2020-12-20 08:05:21 +05:30
9b55d037f2 Fixed: Add new modifier category error 2020-12-20 08:04:53 +05:30
4e3362c614 Version Bump v6.1.2 2020-12-19 10:43:03 +05:30
f4b85dcb41 Added scripts for easy deployment. 2020-12-19 10:42:20 +05:30
89c93862bf Added links to Sales and Guest Book on the Nav Bar 2020-12-19 09:32:27 +05:30
7bd46a946e Version Bump v6.1.1 2020-12-19 09:09:51 +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.
2020-12-19 09:09:10 +05:30
36915b41c1 Version Bump v6.1.0 2020-12-18 13:25:34 +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.
2020-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
2020-12-18 13:24:05 +05:30
608dde4619 Fix: Modifier Category was borking as it was sending the product version id instead of product id in modifier category info 2020-12-18 12:53:08 +05:30
63f5871350 Version Bump v6.0.0 2020-12-16 22:40:36 +05:30
6c83c74424 Chore: 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.

To deal with the challenges of Selection of items in the bill.component.html created a bill selection item.
This is converted to string while checking else the selection model fails.

Feature: It now checks if Happy Hour items have equivalent regular items in each kot.
Feature: Discount won't apply to happy hour items.
Checks for both are both in front end and back end.
2020-12-16 22:34:41 +05:30
28952402aa Fix: Loaded voucher was not showing H H name in Happy Hour products 2020-12-16 12:28:39 +05:30
02e208cd4e Version Bump v5.4.0 2020-12-16 11:50:23 +05:30
e4500f0d46 Breaking: 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.
2020-12-16 11:49:22 +05:30
e229ecefa2 Version Bump v5.3.1 2020-12-15 22:40:24 +05:30
22de4f7624 Fix: 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 name
2020-12-15 22:15:51 +05:30
5a73387404 Version Bump v5.3.0 2020-12-14 18:27:10 +05:30
4f5ba47d46 Added the docker files and ansible playbooks for two instances namely pkl and chd. 2020-12-14 17:58:00 +05:30
294f53147f Version Bump: v5.2.0 2020-12-13 13:20:46 +05:30
afc58d566c Fix: Permissions for header-footer.
The persission Owner is only for Settle Option and Header / Footer
2020-12-13 13:19:42 +05:30
3ad73dff1c Feature: 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)"

Feature:
All report printing now uses local aware number formatting for Indian locale.
2020-12-13 13:14:19 +05:30
27aa4d12a6 Settle Options are now stored in the Database and can be updated 2020-12-13 09:45:24 +05:30
d65379a068 Chore: ng lint using the recommended @angular-eslint style 2020-12-08 18:50:46 +05:30
130d9197e5 Version bump v5.1.0 2020-11-25 12:39:05 +05:30
e16e1822b8 Fix: 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.
2020-11-25 12:38:22 +05:30
d9e0397b21 Version bump v5.1.0 2020-11-25 10:07:26 +05:30
b583b90756 Fully working with the rule no explicit any 2020-11-25 09:27:42 +05:30