Commit Graph

388 Commits

Author SHA1 Message Date
Amritanshu Agrawal 73850560aa Customer discount with prefill discount in sales. 2021-04-02 14:34:07 +05:30
Amritanshu Agrawal faf83f9356 Version Bump v8.2.0 2021-04-02 07:00:16 +05:30
Amritanshu Agrawal 31ae068cab Worker container is not created anymore as this functionality has moved to frank. 2021-04-02 06:59:42 +05:30
Amritanshu Agrawal 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. 2021-04-02 06:58:38 +05:30
Amritanshu Agrawal 0da16e9548 Feature: Added the customer module to list / edit customers. This is needed to add the customer discount functionality 2021-04-02 06:34:31 +05:30
Amritanshu Agrawal 214c40fbde Version Bump v8.1.0 2021-03-26 08:55:20 +05:30
Amritanshu Agrawal d5b4dfeaca Feature: The guestbook now autocompletes on phone number 2021-03-26 08:54:31 +05:30
Amritanshu Agrawal 3705ceb95b Search Added to Product List. 2021-03-26 08:01:30 +05:30
Amritanshu Agrawal 0046c4fdd1 Chore: Updated the version bump script to also update the version on frank toml 2021-03-26 07:33:29 +05:30
Amritanshu Agrawal 47381527c2 Feature: Added feature to click a name in receive payment to fill in the amount in that column 2021-03-26 07:20:51 +05:30
Amritanshu Agrawal 095f4fe473 Fix: Reprint was not physically printing the bill. 2021-03-26 07:19:57 +05:30
Amritanshu Agrawal 7ff546a442 Removed dangling file 2021-03-26 07:19:34 +05:30
Amritanshu Agrawal 11600de3a8 Version Bump v8.0.0 2021-03-24 01:47:04 +05:30
Amritanshu Agrawal 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
2021-03-24 01:43:43 +05:30
Amritanshu Agrawal 0b30ce258c Version Bump v7.3.0 2021-03-20 08:06:20 +05:30
Amritanshu Agrawal 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.
2021-03-20 08:05:50 +05:30
Amritanshu Agrawal 0775d12271 Version Bump v7.2.0 2021-03-19 08:06:54 +05:30
Amritanshu Agrawal 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.
2021-03-19 08:06:37 +05:30
Amritanshu Agrawal dc6e7fe467 Version Bump v7.1.2 2021-03-19 06:55:32 +05:30
Amritanshu Agrawal 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.
2021-03-19 06:54:55 +05:30
Amritanshu Agrawal e99b8f3070 Version Bump v7.1.1 2021-03-18 21:04:09 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal 52943c7ee0 Made the import script more versatile 2021-03-18 17:20:48 +05:30
Amritanshu Agrawal 1163989866 Updated Dockerfiles 2021-03-18 17:19:14 +05:30
Amritanshu Agrawal 30685e10a8 Version Bump v7.1.0 2021-03-18 07:12:55 +05:30
Amritanshu Agrawal 2374fd7347 Chore: Updated angular and other javascript dependencies 2021-03-18 07:11:41 +05:30
Amritanshu Agrawal 4257db020d Version Bump v7.0.0 2021-03-17 10:02:17 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal ea2bfb1c0c Chore: Moved individual models into their own files.
Chore: Updated dependencies.
2021-03-17 09:39:56 +05:30
Amritanshu Agrawal 716c74c974 Version Bump v6.3.0 2020-12-25 11:47:35 +05:30
Amritanshu Agrawal 41d4ef1200 Added feature: Split bill by Sales Category if no item is selected. 2020-12-25 11:47:03 +05:30
Amritanshu Agrawal 6257313792 Version Bump v6.2.0 2020-12-24 12:59:44 +05:30
Amritanshu Agrawal 161896154d Feature: Open bill using bill number 2020-12-24 12:58:46 +05:30
Amritanshu Agrawal 98c75f66c9 Fix: Cancel bill printing if discount dialog is cancelled. 2020-12-24 09:26:34 +05:30
Amritanshu Agrawal 7b327b4fda Feature: Discount will only update the sale types which have been updated in the form. 2020-12-24 09:26:05 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 7550ced477 Version Bump v6.1.5 2020-12-21 11:24:42 +05:30
Amritanshu Agrawal b85e930ace Moved all auth schemas into their own files. Updated imports. 2020-12-21 11:18:58 +05:30
Amritanshu Agrawal c6da3b9e38 Version Bump v6.1.4 2020-12-21 08:03:15 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal f65c19ce1a Version Bump v6.1.3 2020-12-20 08:05:21 +05:30
Amritanshu Agrawal 9b55d037f2 Fixed: Add new modifier category error 2020-12-20 08:04:53 +05:30
Amritanshu Agrawal 4e3362c614 Version Bump v6.1.2 2020-12-19 10:43:03 +05:30
Amritanshu Agrawal f4b85dcb41 Added scripts for easy deployment. 2020-12-19 10:42:20 +05:30
Amritanshu Agrawal 89c93862bf Added links to Sales and Guest Book on the Nav Bar 2020-12-19 09:32:27 +05:30
Amritanshu Agrawal 7bd46a946e Version Bump v6.1.1 2020-12-19 09:09:51 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 36915b41c1 Version Bump v6.1.0 2020-12-18 13:25:34 +05:30
Amritanshu Agrawal 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