Commit Graph

158 Commits

Author SHA1 Message Date
8bc7d66123 Fix: Prevent creation of customer with blank name when adding a guest book item.
Fix: Also prevent creation of customer with blank phone number when adding a guest book.
Feature: Show the old bill of a customer in guest book
Fix: In reprint, allow changing of customer
Chore: Updated dependencies
2023-04-09 15:42:32 +05:30
2fb2e01ca1 Feature: Allow edit of time in guest book.
Feature: Guest book row color is the same as running table colors
2023-03-24 12:46:42 +05:30
56ae7500cc Feature: Allow bills without items so that tables can be seated from the guest book.
Feature: Allow guest book entries to be associated with running vouchers
Feature: Allow removing customer from voucher
2023-03-24 09:09:13 +05:30
88bda14002 Fix: Typo 2023-03-24 08:48:33 +05:30
1297a4e7d2 Cancel VoucherType was added 2023-03-24 08:45:52 +05:30
e56a753053 Fix: Users without ability of edit printed products where not able to set quantity to zero in the bill 2023-03-19 14:43:40 +05:30
c14e64ce85 Feature: The menu engineering report now recalculates the percentages based on filter 2023-03-19 09:56:48 +05:30
4e4cebf5d4 Chore: Moved the formatting to the main style sheet because it was used everywhere.
Also, moved to sass to get theme colors from the material design library
2023-03-18 23:29:10 +05:30
d39712a347 Feature: Made a Menu Engineering Report 2023-03-18 23:20:11 +05:30
1a08066c2d Feature: Cancelled bills are now separate from void bills.
Void bills are automatically generated when printed bills are changed.
Manually cancelled bills are called cancelled bills.
2023-03-17 08:27:30 +05:30
da46591313 Fix: Happy hour product button color was being overwritten by the face color 2023-03-14 13:27:05 +05:30
efa2af396d Chore: Moved from css to sass, god knows what to do now.
Chore: Prettier line length changed to 120 from 100
Fix: Hard coded the face as the primary color to make the buttons stand out
2023-03-13 23:52:44 +05:30
245937ecf2 Fix: The dialogs were not rendering properly.
The select table dialog was long and narrow.
The billtype was selection was also not showing properly.
2023-03-13 21:22:07 +05:30
0f1660ef5a Fix: Regime was stripping the whitespaces from header 2023-03-06 22:02:21 +05:30
516b22ed1c Refactored customer discount and choose discount. They were using the same schema unnecessarily which was leading to confusion. 2023-03-06 21:04:44 +05:30
c5eaeb1497 Fix: Receive payment did not show display reason 2023-03-06 10:35:17 +05:30
e46fe7f90e Feature: Tax Regimes are added so that different bills with different series can be printed for Different regimes such as VAT and GST
Chore: Model relationships updated to make them simpler
Chore: Bill printing majorly refactored for it

Due to the sheer depth of the changes. There can be showstoppers. Please test it carefully
2023-03-05 23:50:41 +05:30
5c7985e392 Chore:
Moved to sqlalchemy 2.0
Added type checking as much as possible
Updated angular to 15
Moved from Angular flex layout to tailwind css

Started developing on vscode with devcontainers
2023-02-20 18:49:17 +05:30
792ccf923f Chore:
Upgraded to Angular 14
2022-07-06 09:04:10 +05:30
d43aab0b23 Chore: Updated linter changed this. 2022-04-03 07:26:40 +05:30
a174f6b847 Fix: Product sale report would mix different product versions as it was checking the product id and not version id
Feature: Cannot add na product to bill
2021-12-29 07:49:23 +05:30
124cf4d9ff Fix: Username unique index was case sensitive and this allowed duplicate names.
Feature: Moved temporal products into their own module and reverted the products module
2021-10-27 09:27:47 +05:30
debe0df7b7 Chore: Fix import of Observable to be from rxjs and not rxjs/internal. It was maybe causing optimization bailouts 2021-09-20 09:30:00 +05:30
5ff954deb6 Fix: Customers with no discount wouldn't show properly in sale / select customer 2021-09-20 09:16:54 +05:30
6379e5f4e3 Choose / Edit / Create customers during billing. 2021-09-19 22:42:27 +05:30
63dfe05044 Chore: Changed the Section Printer from Menu Categories to Sale Categories. This is more logical, in the older software, there as no concept of sale categories so menu categories was used.
This should make the whole thing much easier to update and read.
2021-09-04 12:57:56 +05:30
4a12ee0834 Allow editing of product version with the right permission. 2021-09-04 12:52:05 +05:30
f929a731cb Feature: In the Beer Sale Report, you can choose the type of consumption
Chore: Sorted the product sale report by name
Fix: Voided bills now also include the old bill number
2021-08-17 07:37:17 +05:30
2f440a4127 Feature: Sale Category also shows the products in it to make it easier to check for errors. 2021-08-06 08:23:36 +05:30
5cd0acc7a9 Feature: Added Happy Hour Discount in the bill display and changed Net amount to Gross Amount.
Changed the color of running / printed tables to a brighter colors.
2021-07-05 08:38:26 +05:30
8c5d941850 Fix: Kots with product quantity = 0 were allowed. So blank kots could be added. 2021-07-04 08:32:55 +05:30
5ece52ad55 Added option to view Voided bills 2021-07-02 09:05:37 +05:30
17702a433b Fix: Bill Deactivate guard was running when printing kots / bills when items were added to new kot. 2021-07-02 09:05:07 +05:30
1287d8f7ac Fix: Whitespaces around the password/username were causing login failures. 2021-06-30 07:12:53 +05:30
0d41c0e345 Feature: Exit guard if bill is dirty is sales to prevent accidentally backing out of a bill with data. 2021-06-29 08:58:07 +05:30
fd2659eee5 Added device location to home screen. 2021-06-28 08:41:58 +05:30
db5f2731be Feature: Added a column called print in bill to the table customer.
This will prevent printing all customer's names and phone numbers in the bill in case of simple walkins.
This is a breaking change as there is schema changes in the database.
It also bolds the customers who are to be printed in the bill in the running tables list.
2021-06-28 08:41:32 +05:30
7247ac34f4 Feature: Product Sale Report printing. 2021-06-27 08:08:20 +05:30
a1a1c10dff Fix: Remove legacy otp from login and show the right device id. 2021-06-26 09:14:36 +05:30
77dad64eab Fix: Login errors were not helpful as error.details NOTICE THE "S" typo gobbled up the error message.
Also changed client to device
2021-06-26 08:46:22 +05:30
e0ef5e7b64 Fix: Rounding error prevented some bills from getting settled. This is related to the half even rounding in python. 2021-06-26 08:45:24 +05:30
ca3a599386 Fix: The bill settlement report was showing the wrong time, without taking into account the timezone. 2021-06-23 22:27:28 +05:30
27205f7790 Feature: Allow password change 2021-06-21 10:45:45 +05:30
72b0e0e97d Chore: Crud 2021-06-19 12:35:12 +05:30
d9a6c5d20f Fix: Open bill regex and the data sent by front-end was not compatible. 2021-06-14 07:40:43 +05:30
12a361aff1 Fix: Could not print bill if discount permission not allowed 2021-06-13 17:54:04 +05:30
f78ad68235 Fix: The route to update sort order of Menu Categories was not written. 2021-04-27 07:22:32 +05:30
2f0ef397cf Fix: Disable pull to refresh in chrome. 2021-04-24 09:09:57 +05:30
f410d4a69e Fix: Hopefully this will disable adroid chrome pull to refresh according to
https://developers.google.com/web/updates/2017/11/overscroll-behavior
2021-04-24 00:47:16 +05:30
4e827c2bd0 Feature: Added ability to change / choose pax once the table is running. 2021-04-09 09:33:53 +05:30