Commit Graph

308 Commits

Author SHA1 Message Date
Amritanshu Agrawal cbd5da12cc Version Bump v11.7.0 2023-08-28 11:03:22 +05:30
Amritanshu Agrawal ecea277e46 Feature: Table Booking in guestbook.
Feature: Guest book list shows the running cover count
2023-08-28 07:14:24 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal e955ef4196 Version Bump v11.6.3 2023-08-07 17:45:35 +05:30
Amritanshu Agrawal f1ef578eae Fix: Schema would show the full price for happy hour products 2023-08-07 17:43:09 +05:30
Amritanshu Agrawal 05302c4291 Version Bump v11.6.2 2023-07-26 13:00:19 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 16f29c4139 Version Bump v11.6.1 2023-07-22 14:57:57 +05:30
Amritanshu Agrawal f8c1e0591b Fix: Discount not showing and other chores 2023-07-22 14:57:50 +05:30
Amritanshu Agrawal 42102d7fef Version Bump v11.6.0 2023-07-22 09:22:14 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal e685941804 Version Bump v11.5.0 2023-04-09 15:43:00 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 302ed4a18f Version Bump v11.4.2 2023-03-24 12:46:54 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 94cc8ccd47 Version Bump v11.4.1 2023-03-24 10:17:16 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 5c697dd43a Version Bump v11.4.0 2023-03-24 09:10:20 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 1b4c26733d Chore: Refactor nil inventories and kots checking 2023-03-24 08:49:19 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal 4db26722a3 Fix: Debugging was left in the report 2023-03-24 08:43:54 +05:30
Amritanshu Agrawal b2db7e8f9c Version Bump v11.3.3 2023-03-19 23:08:22 +05:30
Amritanshu Agrawal f6deea265c Fix: Error is checking length of bills 2023-03-19 23:08:14 +05:30
Amritanshu Agrawal f1d145e76f Version Bump v11.3.2 2023-03-19 23:05:00 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal f9fc6dba0d Version Bump v11.3.1 2023-03-19 14:43:45 +05:30
Amritanshu Agrawal 03918fee80 Version Bump v11.3.0 2023-03-19 09:56:58 +05:30
Amritanshu Agrawal c14e64ce85 Feature: The menu engineering report now recalculates the percentages based on filter 2023-03-19 09:56:48 +05:30
Amritanshu Agrawal d39712a347 Feature: Made a Menu Engineering Report 2023-03-18 23:20:11 +05:30
Amritanshu Agrawal 40a357edc8 Version Bump v11.2.0 2023-03-17 10:18:40 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal a62018ad1f Version Bump v11.1.2 2023-03-14 13:27:40 +05:30
Amritanshu Agrawal a1ccf973cd Version Bump v11.1.1 2023-03-14 00:15:50 +05:30
Amritanshu Agrawal 65700d2760 Fix: Date was not updated when the bill was printed. 2023-03-14 00:15:35 +05:30
Amritanshu Agrawal 77c7b167ef Version Bump v11.1.0 2023-03-13 23:52:56 +05:30
Amritanshu Agrawal b021861ba3 Version Bump v11.0.2 2023-03-13 21:22:24 +05:30
Amritanshu Agrawal 3af0b0ac96 Version Bump v11.0.1 2023-03-13 20:40:10 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 7da9212cf7 Version Bump v11.0.0 2023-03-13 11:11:42 +05:30
Amritanshu Agrawal 0f1660ef5a Fix: Regime was stripping the whitespaces from header 2023-03-06 22:02:21 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 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
Amritanshu Agrawal f408e84af3 Added traceback to save voucher to better understand why an error occurs. 2023-03-06 10:21:27 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 802eded568 Due to update to sqlalchemy, fixed schema nullability 2023-02-26 19:51:29 +05:30
Amritanshu Agrawal 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
Amritanshu Agrawal 792ccf923f Chore:
Upgraded to Angular 14
2022-07-06 09:04:10 +05:30