Commit Graph
100 Commits
Author SHA1 Message Date
tanshu 4f0346551a Modifier Category Working 2026-01-24 03:26:03 +00:00
tanshu e4072d0872 Sort order is no longer versioned. Also, data moved is not normalized to add the right skus to the products and coalesce contiguous products and skus with no changes. 2026-01-23 16:20:08 +00:00
tanshu 1b8ab2857f Mostly working with Product + Version and Sku + Version.
There will still be many errors. But this is working somewhat
2026-01-23 02:30:57 +00:00
tanshu aaf64ab75a Docker health check 2026-01-15 09:25:38 +05:30
tanshu 88b53b5781 Change: The cashier report will now split the summary and details. 2025-09-09 01:40:07 +00:00
tanshu 8ff7363fc8 Fixed: VoucherType as not number. So, if a bill was being printed directly without kot first being printed, it would not ask for bill type as the comparison was comparing string with int. 2025-08-09 17:19:30 +00:00
tanshu e1cbf7ffb8 Trackby for the bill table. This should prevent rerendering and it jumping up. 2025-08-04 15:27:21 +00:00
tanshu b33468a43f Fix: Show voucher without kots and iventories would cause an error in show. 2025-08-04 14:54:42 +00:00
tanshu 3e8f2e9736 Changed the font 2025-07-29 09:04:03 +00:00
tanshu f2d5d62aa6 Fix: Beer Sale Report 2025-07-17 17:13:35 +00:00
tanshu eee9ae1f11 CSS Class updation 2025-07-17 03:29:14 +00:00
tanshu 2fbfe96c40 Fix: Due to matching of timestamp vs date, on the day that a product valid_till expired,
comparison with voucher.date would wrongly fail.
2025-07-17 03:28:22 +00:00
tanshu 01b0cbfadf Removed Unnecessary Flex class 2025-07-11 11:44:28 +00:00
tanshu 88a1572747 Chore: Removed Mat Card from everywhere.
Chore: Removed the Toaster Service.
Chore: Updated to Material Theme 3
2025-07-11 11:30:35 +00:00
tanshu 5c1c474e93 Fix: Product Sale Report was not showing "H H " and also printing was an issue. 2025-07-10 16:05:56 +00:00
tanshu 74e17dffd0 Version Bump v13.1.0 2025-07-10 10:59:03 +00:00
tanshu 8ad9e6562c Removed all mr-5, mb-5 and basis tailwind classes.
Will soon remove tailwind totally.
2025-07-10 10:58:48 +00:00
tanshu d80d097c0e Fix: Sale category was not opening as product query error of sorting on menu category without a join 2025-07-10 10:56:30 +00:00
tanshu 0dbec4784b Feature: Paged customer list. 2025-07-10 09:39:55 +00:00
tanshu af684c976e Version Bump v13.0.1 2025-07-09 15:37:37 +00:00
tanshu 26c65b4b65 Fix: Could not open bill with bill number or voucher id 2025-07-09 15:35:35 +00:00
tanshu 2c89e218c8 Version Bump v13.0.0 2025-07-09 14:14:01 +00:00
tanshu b2732434f4 Fix: Kots were not sorted in show voucher. 2025-07-09 14:10:31 +00:00
tanshu 5317e3de23 Fix: Vouchertype as int not string. This fucked up everthing in the frontend and was not able to print kot or bills. 2025-07-09 06:37:31 +00:00
tanshu add3ad35d7 Fix: Missing report schemas 2025-07-09 05:05:30 +00:00
tanshu feb867fe28 Fix: Ansible 2025-07-09 05:04:19 +00:00
tanshu fc2ef36a0c Update for new deployment with Caddy and docker networks 2025-07-09 03:46:33 +00:00
tanshu 31b4ee1ebf Chore: fixed a lot of mypy errors. 2025-07-03 06:27:10 +00:00
tanshu 0e9d9c5934 In the following using onclause for joining ProductVersion vs where:
Product Router
Beer Sale Report
Discount Report
Menu Engineering Report
Product Sale Report
Product Updates Report
Sale Report


Create a pydantic schema for show voucher

Fixed modifier dialog in sales to original size.
2025-07-02 17:44:39 +00:00
tanshu 5401318fc1 Serving method changed to caddy 2025-07-02 04:48:06 +00:00
tanshu 66834b7399 Fix: Modifier Category was showing products from out of category. 2025-07-02 04:34:13 +00:00
tanshu 44513dd6be Moved to Angular 20
Moved to Tailwind 4
Moved to Python 3.13
Enabled arm64/v8 Builds
2025-07-02 04:32:35 +00:00
tanshu 86722e3558 Version Bump v12.1.8 2025-05-27 13:58:48 +00:00
tanshu 2ca94e5bea Add tax was not working 2025-05-27 13:57:46 +00:00
tanshu ad8ccb26df Version Bump v12.1.7 2025-05-02 02:33:32 +00:00
tanshu abc1b36721 Auth errors were not showing up as they were swallowed up by the auth interceptor.
Once caught, the device name was not being shown as it was triggering an expression changed after detection error.
2025-05-02 02:02:25 +00:00
tanshu 68ab90ec48 Chore: Cleaned up imports to use Modules.
Feature: Added an eslint rule to sort component imports
2024-12-19 08:29:05 +05:30
tanshu 7be7545137 Version Bump v12.1.6 2024-12-17 22:26:50 +05:30
tanshu b46fd10f5a Modifier was not working as when the data came late, it would display blank. 2024-12-17 22:26:35 +05:30
tanshu 50846ace3f Version Bump v12.1.5 2024-12-17 21:21:31 +05:30
tanshu e36de39ed5 Modifiers issues 2024-12-17 21:21:21 +05:30
tanshu 4b1fca0260 Version Bump v12.1.4 2024-12-17 09:47:34 +05:30
tanshu 43a884144b Fix: Issues flagged by mypy 2024-12-17 09:47:25 +05:30
tanshu 85a939b761 Fix: Show section wise settlement and tax 2024-12-17 09:46:44 +05:30
tanshu 3bfa00364c Version Bump v12.1.3 2024-12-17 09:18:43 +05:30
tanshu 0b092b5467 Fix: login failed as python-jose was removed. 2024-12-17 09:18:33 +05:30
tanshu 82747c4b89 Version Bump v12.1.2 2024-12-17 09:04:56 +05:30
tanshu e732354671 Fix: run was referencing files in a subdirectory.
Fix: Playbook was not importing the default vars.
Improvement: Dockerfile casheing should improve.
2024-12-17 09:04:49 +05:30
tanshu 6d3057bb55 Version Bump v12.1.1 2024-12-17 08:58:54 +05:30
tanshu 15a93c599e Chore: ruff check will fix the errors also. 2024-12-17 08:58:45 +05:30
tanshu 823e3a761e Fix: Docker entrypoint command. run.sh is in the /app subdirectory 2024-12-17 08:58:17 +05:30
tanshu ac728128b9 Chore: Cleanup Module imports 2024-12-17 08:57:52 +05:30
tanshu 5536bcae41 Version Bump v12.1.0 2024-12-17 08:47:13 +05:30
tanshu 55d5017254 Product sale report can now be section wise 2024-12-17 08:46:29 +05:30
tanshu bbb7be8070 Sale report now can be section wise 2024-12-17 08:23:18 +05:30
tanshu b1407f339d Version Bump v12.0.1 2024-12-16 21:18:26 +05:30
tanshu 659fed549a Fix: Discount and payment received were not working 2024-12-16 21:17:58 +05:30
tanshu a5efcc9061 Fix: Dockerfile was erroring out. 2024-12-16 19:03:38 +05:30
tanshu 7e70214c94 Version Bump v12.0.0 2024-12-16 17:58:20 +05:30
tanshu 2495c24e1a Chore: Updated python dependencies
Chore: Updated angular to v19
Chore: Refactored ops with docker and ansible
2024-12-16 17:58:17 +05:30
tanshu 010e9a84db Chore: Upgrade to Angular v18
Chore: Upgrade to Python 3.12
Chore: Upgrade to psycopg3
2024-06-03 13:22:56 +05:30
tanshu 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
tanshu cbd5da12cc Version Bump v11.7.0 2023-08-28 11:03:22 +05:30
tanshu 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
tanshu ecea277e46 Feature: Table Booking in guestbook.
Feature: Guest book list shows the running cover count
2023-08-28 07:14:24 +05:30
tanshu 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
tanshu e8a33cd80e Chore: Updated bake pies to current services 2023-08-17 22:17:09 +05:30
tanshu 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
tanshu e955ef4196 Version Bump v11.6.3 2023-08-07 17:45:35 +05:30
tanshu f1ef578eae Fix: Schema would show the full price for happy hour products 2023-08-07 17:43:09 +05:30
tanshu 05302c4291 Version Bump v11.6.2 2023-07-26 13:00:19 +05:30
tanshu 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
tanshu 26310dfc42 Changed docker to use a hosts file with various var files and to use roles. 2023-07-23 08:46:45 +05:30
tanshu 16f29c4139 Version Bump v11.6.1 2023-07-22 14:57:57 +05:30
tanshu f8c1e0591b Fix: Discount not showing and other chores 2023-07-22 14:57:50 +05:30
tanshu 42102d7fef Version Bump v11.6.0 2023-07-22 09:22:14 +05:30
tanshu 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
tanshu 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
tanshu 5534b3983d Moved back from devcontainer to normal as ubuntu now has python 3.11 2023-07-20 06:59:32 +05:30
tanshu e685941804 Version Bump v11.5.0 2023-04-09 15:43:00 +05:30
tanshu 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
tanshu 302ed4a18f Version Bump v11.4.2 2023-03-24 12:46:54 +05:30
tanshu 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
tanshu 94cc8ccd47 Version Bump v11.4.1 2023-03-24 10:17:16 +05:30
tanshu 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
tanshu 5c697dd43a Version Bump v11.4.0 2023-03-24 09:10:20 +05:30
tanshu 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
tanshu 1b4c26733d Chore: Refactor nil inventories and kots checking 2023-03-24 08:49:19 +05:30
tanshu 88bda14002 Fix: Typo 2023-03-24 08:48:33 +05:30
tanshu 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
tanshu 1297a4e7d2 Cancel VoucherType was added 2023-03-24 08:45:52 +05:30
tanshu 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
tanshu 4db26722a3 Fix: Debugging was left in the report 2023-03-24 08:43:54 +05:30
tanshu b2db7e8f9c Version Bump v11.3.3 2023-03-19 23:08:22 +05:30
tanshu f6deea265c Fix: Error is checking length of bills 2023-03-19 23:08:14 +05:30
tanshu f1d145e76f Version Bump v11.3.2 2023-03-19 23:05:00 +05:30
tanshu 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
tanshu f9fc6dba0d Version Bump v11.3.1 2023-03-19 14:43:45 +05:30
tanshu 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
tanshu 03918fee80 Version Bump v11.3.0 2023-03-19 09:56:58 +05:30