Commit Graph
100 Commits
Author SHA1 Message Date
tanshu ab8fed17d0 Fix: Product update failed as sku_version_id was not sent on the schema and hence update tried to create a new sku.
Fix: If a product sku was updated and then deleted on the same day, it failed as the valid_till for the sku_version was set to yesterday while the valid_from was set to today.
Fix: Product update also failed as the db.commit was on the loop adding new skus
2026-02-20 16:27:14 +00:00
tanshu dcf1ffad98 Version Bump v14.3.0 2026-02-17 09:45:32 +05:30
tanshu 338d9d63d5 Validation: Making Product name unique ignoring the fraction_units.
Making the sku_version.units unique for a product across stock_keeping_units.

Both respecting the validity
2026-02-17 04:13:11 +00:00
tanshu 9b0da9cb65 Fix: Product sale report was aggregating on the product_version_id 2026-02-14 12:20:09 +00:00
tanshu 4cc2ff2229 Version Bump v14.2.1 2026-02-14 11:30:40 +05:30
tanshu c9fa83e8ac Fix: Accidentally used menu category instead of sale category 2026-02-14 06:00:09 +00:00
tanshu 061dd1310d Version Bump v14.2.0 2026-02-14 05:30:05 +00:00
tanshu a1d6919d9d Beer consumption report can choose menu category for beer 2026-02-14 05:29:11 +00:00
tanshu ecc92795e6 Fix: In product list, if menu category is reset, all products get filtered out as it becomes undefined. 2026-02-12 09:01:12 +00:00
tanshu 535a145742 Fix: Cannot move kot as row.kotId was always undefined. 2026-02-12 08:20:54 +00:00
tanshu 1271e26dd8 Changed Docker CMD to remove redundant run.sh 2026-02-12 04:01:35 +00:00
tanshu 2ae3f3ba7e Dockerfile will kill the process if stuck so that restart policy can restart the container
Gunicorn will kill worker every 10000 requests which can help reclaim memory lost to leaks
2026-02-12 03:52:53 +00:00
tanshu e6a03d33e5 Version Bump v14.1.0 2026-02-11 14:59:50 +05:30
tanshu c7dd6e574d Feature: Roles can include Roles. 2026-02-11 09:28:50 +00:00
tanshu 913820cc29 Dockerfile improvements. 2026-02-11 08:41:12 +00:00
tanshu e3d40d50f0 Fix: Unable to receive payment as the amountVal as always zero. 2026-02-11 08:37:12 +00:00
tanshu b27a5a9211 Committed the poetry.lock 2026-02-11 05:51:10 +00:00
tanshu a955e26b93 Added poetry lockfile to Dockerfile 2026-02-11 05:48:41 +00:00
tanshu bd2b1f5c2f Version Bump v14.0.1 2026-02-11 10:53:26 +05:30
tanshu 0fa28019ec Fix: Accidentally removed the static files route needed to serve the frontend in deployment 2026-02-11 05:23:08 +00:00
tanshu ddb03ac8eb Version Bump v14.0.0 2026-02-11 10:43:43 +05:30
tanshu ae8975b29f Merge branch 'feature/bundle' 2026-02-11 10:42:01 +05:30
tanshu e7e49019c4 Schemas everywhere mypy and ruff fully compliant
Type hints everywhere
2026-02-11 04:41:22 +00:00
tanshu dc34a78e06 Cleanup 2026-02-10 18:12:52 +00:00
tanshu 91b3740ec0 Bundle item has an option to not print in the bill.
Bills and Kots should print properly with bundles
2026-02-10 18:00:03 +00:00
tanshu 7382d487ac Product Sale Report double counts the Bundle Items as it lists them as well as the bundle.
Menu Engineering Report double counts the Bundle Items as it lists them as well as the bundle.

All reports fixed.
2026-02-05 01:12:56 +00:00
tanshu 8957e4ce8c All voucher routes now work with bundles.
Need to check / update all reports and prints
2026-02-05 00:46:49 +00:00
tanshu 6e8843d3c4 Feature: Added product bundles. Have to wire it up to inventory and reports. 2026-01-31 15:16:58 +00:00
tanshu b79af6e1c6 Changed the for-product route to for-sku to reduce ambiguity 2026-01-29 16:23:07 +00:00
tanshu c65517b377 Fix 2026-01-28 07:18:10 +00:00
tanshu ca94f8f57e Upgraded to Angular v21
Removed tailwind

Moved to vitest from karma/jasmine
2026-01-28 07:18:05 +00:00
tanshu e0766c5a2e Merge branch 'sku' 2026-01-28 04:16:04 +00:00
tanshu bd1a5e03c5 Merge branch 'main' into sku 2026-01-28 09:39:59 +05:30
tanshu 61f5f2f1af Product update sort order working
Beer Sale report should work. But it has all the products in it now.
All reports working
2026-01-28 04:07:22 +00:00
tanshu 0a7ffb4a5c Product list and detail fully working. only thing to check is the update sort order route 2026-01-26 14:01:18 +00:00
tanshu 22f888500f Update product prices now working 2026-01-26 14:00:14 +00:00
tanshu 2505ef7aec Temporal Product Fixed. 2026-01-26 07:07:33 +00:00
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 6caeb34e8d Change: The cashier report will now split the summary and details. 2025-09-09 07:14:48 +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