Commit Graph

390 Commits

Author SHA1 Message Date
010e9a84db Chore: Upgrade to Angular v18
Chore: Upgrade to Python 3.12
Chore: Upgrade to psycopg3
2024-06-03 13:22:56 +05:30
56c1be5e05 Chore: Moved from isort + flake8 to ruff. There are a few formatting differences in isort and ruff
Chore: Updated dependencies
2023-08-31 07:16:58 +05:30
cbd5da12cc Version Bump v11.7.0 2023-08-28 11:03:22 +05:30
93b1b8840d Feature: Updated the frank dockerfile to properly install python poetry
Feature: Updated the frank playbook to allow user to be changed from pi
Chore: Refactored the various env files to use single file and multiple var files.
2023-08-28 11:03:00 +05:30
ecea277e46 Feature: Table Booking in guestbook.
Feature: Guest book list shows the running cover count
2023-08-28 07:14:24 +05:30
1cb2677ad1 Chore: Moved edit and delete in guestbook to the details from list.
This will give more space.
Also removed the old table button
2023-08-17 22:18:14 +05:30
e8a33cd80e Chore: Updated bake pies to current services 2023-08-17 22:17:09 +05:30
cb3657615a Chore: Updated fastapi and pydantic
Refactor: Removed mapped_column name string in models
Refactor: Moved from postgres.uuid to uuid in models
Fix: Schemas use Daf (Decimal as float to hack around pydantic v2 sending decimals as strings.)
2023-08-17 22:09:20 +05:30
e955ef4196 Version Bump v11.6.3 2023-08-07 17:45:35 +05:30
f1ef578eae Fix: Schema would show the full price for happy hour products 2023-08-07 17:43:09 +05:30
05302c4291 Version Bump v11.6.2 2023-07-26 13:00:19 +05:30
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