Commit Graph

379 Commits

Author SHA1 Message Date
96e54e2a0a Fix: Repint was creating new bills. Rounding caused it to think that the amounts had changed.
Made the inventory amount expression round to even and the inventory schema to validate to round the inputs
2023-07-26 13:00:01 +05:30
26310dfc42 Changed docker to use a hosts file with various var files and to use roles. 2023-07-23 08:46:45 +05:30
16f29c4139 Version Bump v11.6.1 2023-07-22 14:57:57 +05:30
f8c1e0591b Fix: Discount not showing and other chores 2023-07-22 14:57:50 +05:30
42102d7fef Version Bump v11.6.0 2023-07-22 09:22:14 +05:30
09b762d154 Chore:
Moved to Angular 16
Moved to FastAPI 0.100.0
Moved to pydantic 2.0
2023-07-22 09:20:01 +05:30
8b2d15b9e1 Fix: Guestbook would not let you seat anyone who has any old bill.
Fix: Only create a new temporal product when there is some change in the data.
2023-07-20 07:00:20 +05:30
5534b3983d Moved back from devcontainer to normal as ubuntu now has python 3.11 2023-07-20 06:59:32 +05:30
e685941804 Version Bump v11.5.0 2023-04-09 15:43:00 +05:30
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
302ed4a18f Version Bump v11.4.2 2023-03-24 12:46:54 +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
94cc8ccd47 Version Bump v11.4.1 2023-03-24 10:17:16 +05:30
c13047e812 Fix: Check if moved/merged kots could lead to negative products of a situation where happy hour products were more than regular products.
Case:
  Kot 1:
    Beer Mug => 2 regular, 2 happy hour
  Kot 2:
    Beer Mug => 2 Regular
  Kot 3:
    Beer Mug => -2 Regular

Then move Kot 2 to new table would leave the voucher with 2 hh and 0 regular
Also, just move did not check if products were going negative.
2023-03-24 10:17:06 +05:30
5c697dd43a Version Bump v11.4.0 2023-03-24 09:10:20 +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
1b4c26733d Chore: Refactor nil inventories and kots checking 2023-03-24 08:49:19 +05:30
88bda14002 Fix: Typo 2023-03-24 08:48:33 +05:30
7a8017087b Fix: Update pax if changed
Fix: Tax was associated with inventory, not just tax_id so that if along with adding an inventory, the bill is printed then it can be used to get regime information.
Chore: Refactored checking for nil inventory and kots.
2023-03-24 08:48:18 +05:30
1297a4e7d2 Cancel VoucherType was added 2023-03-24 08:45:52 +05:30
47afb7e29c Always ensure that a "KOT" Bill Number was generated even if the bill was straight printed. 2023-03-24 08:44:48 +05:30
4db26722a3 Fix: Debugging was left in the report 2023-03-24 08:43:54 +05:30
b2db7e8f9c Version Bump v11.3.3 2023-03-19 23:08:22 +05:30
f6deea265c Fix: Error is checking length of bills 2023-03-19 23:08:14 +05:30
f1d145e76f Version Bump v11.3.2 2023-03-19 23:05:00 +05:30
22f61427b0 Fix: Cashier report was only showing the last amount of aggregate items.
When it was not added to info, the amount also got reset to 0

Feature: Disabled total slip for single bills
2023-03-19 22:44:38 +05:30
f9fc6dba0d Version Bump v11.3.1 2023-03-19 14:43:45 +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
03918fee80 Version Bump v11.3.0 2023-03-19 09:56:58 +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
40a357edc8 Version Bump v11.2.0 2023-03-17 10:18:40 +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
a62018ad1f Version Bump v11.1.2 2023-03-14 13:27:40 +05:30
da46591313 Fix: Happy hour product button color was being overwritten by the face color 2023-03-14 13:27:05 +05:30
a1ccf973cd Version Bump v11.1.1 2023-03-14 00:15:50 +05:30
65700d2760 Fix: Date was not updated when the bill was printed. 2023-03-14 00:15:35 +05:30
77c7b167ef Version Bump v11.1.0 2023-03-13 23:52:56 +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
b021861ba3 Version Bump v11.0.2 2023-03-13 21:22:24 +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
3af0b0ac96 Version Bump v11.0.1 2023-03-13 20:40:10 +05:30
4fffdd85d6 Fix: Merge table did not delete the old bills and fucked up.
Fix: Bill settlement report was not in order
2023-03-13 20:38:55 +05:30
7da9212cf7 Version Bump v11.0.0 2023-03-13 11:11:42 +05:30
0f1660ef5a Fix: Regime was stripping the whitespaces from header 2023-03-06 22:02:21 +05:30
7d0874093c Fix: New Product did not work due to missing quantity is the schema
Fix: New Product would not auto add modifiers
2023-03-06 21:42:09 +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
f408e84af3 Added traceback to save voucher to better understand why an error occurs. 2023-03-06 10:21:27 +05:30