Fándly Gergő
e786433273
Replaced barcode scanning library with ZXing ( #2706 )
...
* Replaced barcode scanning library with ZXing
* Applied code formatting rules
* Delete now obsolete user settings
* Review
---------
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2025-03-21 17:41:39 +01:00
Bernd Bestel
d1a8900f98
Also show the product's default store on /stockoverview ( closes #2698 )
2025-03-10 17:36:23 +01:00
Bernd Bestel
27b79841fc
Scale up values on the shopping list when shopping_list_round_up is enabled ( closes #2687 )
2025-02-25 18:43:42 +01:00
Bernd Bestel
56d8c2f13a
Changed shopping_list_defaults default amount
2025-01-31 15:56:15 +01:00
Bernd Bestel
c8ac094bf4
Prevent non-number amounts for shopping list items on database level ( closes #2657 )
2025-01-30 19:42:56 +01:00
Bernd Bestel
1946ff870e
Make it possible to round up shopping list and recipe ingredient amounts ( closes #902 , closes #2644 )
2025-01-19 20:16:37 +01:00
Bernd Bestel
e3965ed82c
Added a new product option default_purchase_price_type ( closes #566 )
2025-01-19 16:35:45 +01:00
Bernd Bestel
bc78359dba
Make it possible to disable open per product ( closes #1911 )
2025-01-19 14:57:19 +01:00
Bernd Bestel
83b8b95b73
Streamline in stock / out of stock wording
2025-01-18 10:33:26 +01:00
Bernd Bestel
f9c7c67dc7
Indicate incomplete recipe costs information ( closes #1941 )
2025-01-17 20:37:43 +01:00
Bernd Bestel
1daa15a303
Added an upper limit for stock_decimal_places_* settings (references #2508 )
2025-01-17 19:48:14 +01:00
Bernd Bestel
ded742a7c1
Various minor usability refinements
2025-01-16 21:34:01 +01:00
Bernd Bestel
b0dded1346
Added a new stock settings to always show all products on /stockoverview ( closes #2398 )
2025-01-15 21:44:45 +01:00
Bernd Bestel
97dbd7bf08
Optimized chore on-time tracking ( closes #2385 )
2025-01-14 20:39:07 +01:00
Bernd Bestel
cc40344845
Fixed recipes_nestings_resolved recursive serving calculation ( fixes #2361 )
2025-01-13 21:37:16 +01:00
Bernd Bestel
f4d5f21832
Squashed commit
...
Fixed recipe ingredient costs/calories calculation when having different QUs and when only_check_single_unit_in_stock is set (fixes #2529 )
Added a new column "Product picture" on /products (closes #2640 )
Fixed partly opening stock entries stock_id handling (fixes #2391 )
2025-01-13 17:41:08 +01:00
Bernd Bestel
c73be7d18e
Finalized frontend external barcode lookup implementation (references #158 )
2025-01-12 13:58:47 +01:00
Daniel Reinoso
5b48004449
Exclude self-produced product prices from spending reports ( #2596 )
...
* Exclude self-produced product prices from spending reports
* Fix SQL query
* Code style
---------
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2024-10-25 23:19:00 +02:00
Bernd Bestel
d5dacb1053
Optimized product Grocycode handling on consume page (and others / general) ( fixes #2571 )
2024-08-24 18:20:40 +02:00
Bernd Bestel
ac26c5510b
Prefill desired_servings by base_servings when creating a recipe ( closes #2479 )
2024-02-23 18:09:55 +01:00
Bernd Bestel
8497f37b24
Fixed product's last_price related to empty / 0 stock transactions ( fixes #2470 )
2024-02-13 13:12:56 +01:00
Bernd Bestel
40d1a9c3d0
Show the number of items per shopping list in the shopping lists dropdown ( closes #2467 )
2024-02-12 20:36:33 +01:00
Bernd Bestel
fdbb8a045a
Optimized performance of GetProductDetails
2023-09-01 17:03:22 +02:00
Aleksandar Kuzmanoski
13e99d3f07
stock_current view now uses cached QUCs -> Recipes consume 50% faster ( #2322 )
...
* stock_current view now uses cache__quantity_unit_conversions_resolved -> Recipes consume 50% faster
* Adapted code style
---------
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2023-08-22 19:41:44 +02:00
Bernd Bestel
9b119da8e0
Merged the by @alkuzman contributed new quantity_unit_conversions_resolved
view ( closes #2297 )
2023-08-19 08:13:34 +02:00
Bernd Bestel
03f9ba45ea
Fixed initial product QU conversion handling ( fixes #2312 )
2023-08-16 17:05:18 +02:00
Bernd Bestel
d6cc87ac86
More optimizations around edited stock entries handling (references #2292 )
2023-08-13 00:27:37 +02:00
Bernd Bestel
a47bccab3f
Added some comments to newest changed SQL views (references #2292 )
2023-08-12 20:16:44 +02:00
Bernd Bestel
393a312186
More fixes regarding edited stock entries and calculating the products average price + price history ( fixes #2292 )
2023-08-12 18:08:12 +02:00
Bernd Bestel
2d2039f988
Fixed recipe cost/energy calculation ( fixes #2301 )
2023-08-08 17:59:10 +02:00
Bernd Bestel
4691b45510
Removed unnecessary calculation step in view uihelper_shopping_list
( closes #2298 )
2023-08-07 21:57:12 +02:00
Bernd Bestel
7ef744a995
Relate prices on the shopping to the there selected QU ( closes #2294 )
2023-08-06 14:31:38 +02:00
Bernd Bestel
ee4a082c74
Fixed handling of edited stock entries when calculating a product's average price (references #2292 )
2023-08-06 14:05:35 +02:00
Bernd Bestel
1d7f7b2992
Cache expensive stock data calculations
2023-08-06 13:28:14 +02:00
Bernd Bestel
bae4a7f04c
Added missing semicolon
2023-08-05 21:51:13 +02:00
Bernd Bestel
a44d746176
Fixed stock_edited_entries
view (references #2292 )
2023-08-05 21:44:22 +02:00
Bernd Bestel
3afb9643c4
Fix handling when there are no single edited stock entries at all (references #2292 )
2023-08-05 18:28:49 +02:00
Bernd Bestel
61a3a4329b
Unified edited stock transactions handling ( fixes #2292 )
2023-08-05 09:58:21 +02:00
Bernd Bestel
847337443d
Optimized /shoppinglist performance
2023-08-01 20:47:47 +02:00
Bernd Bestel
e946ec79d5
Fixed typo
2023-07-31 18:27:53 +02:00
Bernd Bestel
ca740e8cee
Improved product average shelf life calculation (references #2283 )
2023-07-31 17:41:36 +02:00
Bernd Bestel
73ad9d39ab
Workaround for crap product specific QU conversions for migration 0207 ( fixes #2285 )
2023-07-31 16:58:41 +02:00
Bernd Bestel
fd7e24b7d1
Optimized StockService->GetProductDetails performance ( fixes #2283 )
2023-07-31 16:54:58 +02:00
Bernd Bestel
d0e0102752
API keys can now have a description
2023-05-23 20:31:51 +02:00
Bernd Bestel
d03175f75a
Added a separate QU for displaying prices ( closes #2225 )
2023-05-18 13:37:13 +02:00
Bernd Bestel
9cdb0908d6
Make it possible to hide locations/stores/QUs/product_groups/task_categories ( closes #2222 )
2023-05-13 14:24:52 +02:00
Bernd Bestel
71d44edb8c
Optimized week recipe handling in mealplan ( fixes #2168 )
2023-04-01 22:04:30 +02:00
Travis Raup
340832c361
Feature: Stock Purchase Metrics ( #2135 )
...
* Feature: Stock Purchase Metrics
* chart update
* Refactor to chartjs
* More suggestion edits
- locale in javascript
- global translations
- commit migrations sql file
* Rename 0215.sql to 0216.sql
Fixed merge conflict
* Fixed merge conflict
* Applied code style
* Added missing demo data translations
* Removed unused package "canvasjs"
* Don't include daterangepicker globally when only needed on a single page / fixed view section imports
* Rename this to "Spendings" / name it more generically "Stock reports"
* Reuse the existing product_price_history view
* Final cleanup
* Whitespace fix
---------
Co-authored-by: Travis Raup <travis.raup@platform.sh>
Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2023-04-01 17:05:41 +02:00
Bernd Bestel
3d01854fa1
Don't use double quotes for SQL string literals (references #2170 )
2023-03-16 21:16:27 +01:00
Bernd Bestel
7336693ca2
Optimized stock_missing_products
view ( fixes #2154 )
2023-03-02 19:36:57 +01:00