2e5543a2ebOptimizing and updating Dockerfile for build testing, size and cache.
main
Amritanshu2026-02-22 04:55:12 +00:00
34e30efcafChore: Ruff linting updated and fixed errors. Chore: Moved from poetry to uvAmritanshu2026-02-22 04:23:14 +00:00
2b844bc44bChore: Using FastAPI Exception handlers for Integrity Errors and SQLAlchemyErrors. Chore: Using Annotation to inject Session in routes. Hence, have removed all with Session and try / catchAmritanshu2026-02-21 08:26:29 +00:00
ab8fed17d0Fix: 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 skusAmritanshu2026-02-20 16:27:14 +00:00
338d9d63d5Validation: Making Product name unique ignoring the fraction_units. Making the sku_version.units unique for a product across stock_keeping_units.Amritanshu2026-02-17 04:13:11 +00:00
9b0da9cb65Fix: Product sale report was aggregating on the product_version_idAmritanshu2026-02-14 12:20:09 +00:00
a1d6919d9dBeer consumption report can choose menu category for beerAmritanshu2026-02-14 05:29:11 +00:00
ecc92795e6Fix: In product list, if menu category is reset, all products get filtered out as it becomes undefined.Amritanshu2026-02-12 09:01:12 +00:00
535a145742Fix: Cannot move kot as row.kotId was always undefined.Amritanshu2026-02-12 08:20:54 +00:00
1271e26dd8Changed Docker CMD to remove redundant run.shAmritanshu2026-02-12 04:01:35 +00:00
2ae3f3ba7eDockerfile 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 leaksAmritanshu2026-02-12 03:52:53 +00:00
91b3740ec0Bundle item has an option to not print in the bill. Bills and Kots should print properly with bundlesAmritanshu2026-02-10 18:00:03 +00:00
7382d487acProduct 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.Amritanshu2026-02-05 01:12:56 +00:00
8957e4ce8cAll voucher routes now work with bundles.Amritanshu2026-02-05 00:46:49 +00:00
6e8843d3c4Feature: Added product bundles. Have to wire it up to inventory and reports.Amritanshu2026-01-31 15:16:58 +00:00
b79af6e1c6Changed the for-product route to for-sku to reduce ambiguityAmritanshu2026-01-29 16:23:07 +00:00
61f5f2f1afProduct update sort order working Beer Sale report should work. But it has all the products in it now. All reports workingAmritanshu2026-01-28 03:53:52 +00:00
0a7ffb4a5cProduct list and detail fully working. only thing to check is the update sort order routeAmritanshu2026-01-26 14:01:18 +00:00
e4072d0872Sort 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.Amritanshu2026-01-23 16:20:08 +00:00
1b8ab2857fMostly working with Product + Version and Sku + Version.Amritanshu2026-01-22 16:54:12 +00:00
6caeb34e8dChange: The cashier report will now split the summary and details.Amritanshu2025-09-09 07:14:48 +05:30
88b53b5781Change: The cashier report will now split the summary and details.Amritanshu2025-09-09 01:40:07 +00:00
8ff7363fc8Fixed: 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.Amritanshu2025-08-09 17:19:30 +00:00
e1cbf7ffb8Trackby for the bill table. This should prevent rerendering and it jumping up.Amritanshu2025-08-04 15:27:21 +00:00
b33468a43fFix: Show voucher without kots and iventories would cause an error in show.Amritanshu2025-08-04 14:54:42 +00:00
2fbfe96c40Fix: Due to matching of timestamp vs date, on the day that a product valid_till expired, comparison with voucher.date would wrongly fail.Amritanshu2025-07-17 03:28:22 +00:00
88a1572747Chore: Removed Mat Card from everywhere. Chore: Removed the Toaster Service. Chore: Updated to Material Theme 3Amritanshu2025-07-11 11:30:35 +00:00
5c1c474e93Fix: Product Sale Report was not showing "H H " and also printing was an issue.Amritanshu2025-07-10 16:05:56 +00:00
b2732434f4Fix: Kots were not sorted in show voucher.Amritanshu2025-07-09 14:10:31 +00:00
5317e3de23Fix: Vouchertype as int not string. This fucked up everthing in the frontend and was not able to print kot or bills.Amritanshu2025-07-09 06:37:31 +00:00
fc2ef36a0cUpdate for new deployment with Caddy and docker networksAmritanshu2025-07-09 03:46:33 +00:00
31b4ee1ebfChore: fixed a lot of mypy errors.Amritanshu2025-07-03 06:27:10 +00:00
0e9d9c5934In 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 ReportAmritanshu2025-07-02 17:44:39 +00:00
abc1b36721Auth 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.Amritanshu2025-05-02 02:02:25 +00:00
68ab90ec48Chore: Cleaned up imports to use Modules. Feature: Added an eslint rule to sort component importsAmritanshu2024-12-18 10:18:43 +05:30
e732354671Fix: run was referencing files in a subdirectory. Fix: Playbook was not importing the default vars. Improvement: Dockerfile casheing should improve.Amritanshu2024-12-17 09:04:49 +05:30