Commit Graph

488 Commits

Author SHA1 Message Date
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
dcf1ffad98 Version Bump v14.3.0 v14.3.0 2026-02-17 09:45:32 +05:30
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
9b0da9cb65 Fix: Product sale report was aggregating on the product_version_id 2026-02-14 12:20:09 +00:00
4cc2ff2229 Version Bump v14.2.1 v14.2.1 2026-02-14 11:30:40 +05:30
c9fa83e8ac Fix: Accidentally used menu category instead of sale category 2026-02-14 06:00:09 +00:00
061dd1310d Version Bump v14.2.0 v14.2.0 2026-02-14 05:30:05 +00:00
a1d6919d9d Beer consumption report can choose menu category for beer 2026-02-14 05:29:11 +00:00
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
535a145742 Fix: Cannot move kot as row.kotId was always undefined. 2026-02-12 08:20:54 +00:00
1271e26dd8 Changed Docker CMD to remove redundant run.sh 2026-02-12 04:01:35 +00:00
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
e6a03d33e5 Version Bump v14.1.0 v14.1.0 2026-02-11 14:59:50 +05:30
c7dd6e574d Feature: Roles can include Roles. 2026-02-11 09:28:50 +00:00
913820cc29 Dockerfile improvements. 2026-02-11 08:41:12 +00:00
e3d40d50f0 Fix: Unable to receive payment as the amountVal as always zero. 2026-02-11 08:37:12 +00:00
b27a5a9211 Committed the poetry.lock 2026-02-11 05:51:10 +00:00
a955e26b93 Added poetry lockfile to Dockerfile 2026-02-11 05:48:41 +00:00
bd2b1f5c2f Version Bump v14.0.1 v14.0.1 2026-02-11 10:53:26 +05:30
0fa28019ec Fix: Accidentally removed the static files route needed to serve the frontend in deployment 2026-02-11 05:23:08 +00:00
ddb03ac8eb Version Bump v14.0.0 v14.0.0 2026-02-11 10:43:43 +05:30
ae8975b29f Merge branch 'feature/bundle' 2026-02-11 10:42:01 +05:30
e7e49019c4 Schemas everywhere mypy and ruff fully compliant
Type hints everywhere
2026-02-11 04:41:22 +00:00
dc34a78e06 Cleanup 2026-02-10 18:12:52 +00:00
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
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
8957e4ce8c All voucher routes now work with bundles.
Need to check / update all reports and prints
2026-02-05 00:46:49 +00:00
6e8843d3c4 Feature: Added product bundles. Have to wire it up to inventory and reports. 2026-01-31 15:16:58 +00:00
b79af6e1c6 Changed the for-product route to for-sku to reduce ambiguity 2026-01-29 16:23:07 +00:00
c65517b377 Fix 2026-01-28 07:18:10 +00:00
ca94f8f57e Upgraded to Angular v21
Removed tailwind

Moved to vitest from karma/jasmine
2026-01-28 07:18:05 +00:00
e0766c5a2e Merge branch 'sku' 2026-01-28 04:16:04 +00:00
bd1a5e03c5 Merge branch 'main' into sku 2026-01-28 09:39:59 +05:30
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
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
22f888500f Update product prices now working 2026-01-26 14:00:14 +00:00
2505ef7aec Temporal Product Fixed. 2026-01-26 07:07:33 +00:00
4f0346551a Modifier Category Working 2026-01-24 03:26:03 +00:00
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
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
aaf64ab75a Docker health check 2026-01-15 09:25:38 +05:30
6caeb34e8d Change: The cashier report will now split the summary and details. 2025-09-09 07:14:48 +05:30
88b53b5781 Change: The cashier report will now split the summary and details. 2025-09-09 01:40:07 +00:00
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
e1cbf7ffb8 Trackby for the bill table. This should prevent rerendering and it jumping up. 2025-08-04 15:27:21 +00:00
b33468a43f Fix: Show voucher without kots and iventories would cause an error in show. 2025-08-04 14:54:42 +00:00
3e8f2e9736 Changed the font 2025-07-29 09:04:03 +00:00
f2d5d62aa6 Fix: Beer Sale Report 2025-07-17 17:13:35 +00:00
eee9ae1f11 CSS Class updation 2025-07-17 03:29:14 +00:00
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