kriddles
2a608c41e9
Stock detail updates ( #493 )
...
* Fix spelling
* stockdetail refresh with location name
* Stock updates
* change stock_row_id to id
* fix stockdetail refresh rows after clicking undo
* fix stockdetail consume spoiled
2020-01-17 17:54:34 +01:00
Bernd Bestel
8e26bd2c31
Allow partial units during inventory ( fixes #459 )
2020-01-03 13:55:14 +01:00
kriddles
6c7420ea08
Stock Service Updates ( #421 )
...
* viewjs consume: implement location and update stock specific
* Transfer Products
* services StockService#GetProductStockEntriesByLocation: add method
* services StockService#AddProduct: check for stock and locations
* services StockService: include location_id
* services StockService#LocationExists: add method
* services StockService#UndoBooking: fix based on stockRow
* Reimplement StockServer->TransferProduct (one loop for the whole action to preserve stock_id)
* Ensure that the location_id is never NULL in the stock and stock_log table (checked by an INSERT trigger, sets the products default location if empty)
* Only consider stock amount at the given location on consume, if supplied
* Restore more/old display text for "specific stock entry"
* Don't allow transfering tare weight enabled products
* Various small changes (code style, missing OpenAPI endpoint, remove location_id null checking)
* Updated translations strings
* Added transaction_id and correlation_id to stock_log entries to group them together
* ProductCard - location to default location label change
* Also undo correlated bookings on undo
* Added API endpoints for listing and undoing transactions and use them on purchase/consume/inventory/stockoverview
* Initial Stock detail page
* Allow Undo for Tranfers
* Price step to .01
* Some localization string changes & fixes
2019-12-19 19:48:36 +01:00
Bernd Bestel
cf3217ada4
Fixed expired products count on stock overview page ( fixes #392 )
2019-09-26 16:42:59 +02:00
Bernd Bestel
5351828e79
Reuse existing shopping list items when adding products from the stock overview page ( closes #375 )
2019-09-24 18:27:50 +02:00
Marc Ole Bulling
f444d3e095
Fixed API call AddProductToShoppingList ( #376 )
...
$productId->id was undefined, therefore all items added to the shopping list with the API call had a null entry for "product_id"
2019-09-24 15:50:35 +02:00
Bernd Bestel
e4437f5db1
Fixed that "Spoil rate" and "Average shelf life" on the product card was wrong in most cases
2019-09-21 13:30:44 +02:00
Bernd Bestel
35a409f462
Fixed/refined some things regarding purchase/consume/inventory of products with enabled tare weight handling
2019-09-19 21:10:36 +02:00
Bernd Bestel
a4d479d047
Also consider opened products for minimum stock amounts (optionally, but by default) ( closes #353 )
2019-09-19 18:11:03 +02:00
Bernd Bestel
5e9a7fb7ca
Implemented browser barcode scanning ( closes #102 )
2019-09-19 12:48:02 +02:00
Bernd Bestel
a0a0e104b0
Implemented product variations ( closes #196 )
2019-09-14 17:34:36 +02:00
Bernd Bestel
a4454f825a
Fixes/changes for pull request #349
2019-08-31 14:08:15 +02:00
Marc Ole Bulling
d4eb767f1b
Add API call for adding products to shoppinglist
2019-08-30 09:21:11 +02:00
Forceu
411aad2398
Set stock amount to 0 instead of null if product not in stock
...
Without this the API returns null instead of 0 when queried for product stock amount
2019-08-13 12:20:14 +02:00
Bernd Bestel
28716ed96c
First draft for printable location content sheets (references #341 )
2019-08-10 16:34:29 +02:00
Bernd Bestel
cc1c6a6442
Little changes for pull request #338
2019-08-10 08:33:30 +02:00
Marc Ole Bulling
1e33975a96
Use default best before date when adding product through API
2019-08-04 20:58:11 +02:00
Forceu
1a23eaabf1
Add API call to remove an item from the shopping list by productid
...
This adds an API call, so a shopping list item can easily be removed
Please note: This is UNTESTED, as I was unable to run the current grocy master commit on my server.
2019-08-04 20:31:47 +02:00
Bernd Bestel
87976b86d9
Also display price data from inventory corrections, not only purchases ( fixes #303 )
2019-07-07 09:25:13 +02:00
Bernd Bestel
bcae9f9292
Added price field on inventory page (for added products) (references #225 )
2019-05-03 22:11:20 +02:00
Bernd Bestel
7fc4992b3a
Fixed API response for /api/stock/products/{productId}/inventory when the new amount equals the current stock amount (references #224 )
2019-05-03 18:37:02 +02:00
Bernd Bestel
d72fe69a17
Show more info in product card ( closes #173 )
2019-04-22 10:11:58 +02:00
Bernd Bestel
162adeb359
Improve API related changes regarding multiple shopping lists (references #190 )
2019-04-22 08:21:57 +02:00
Bernd Bestel
cdd02efcc6
Implemented multiple/named shopping lists ( closes #190 )
2019-04-20 17:04:40 +02:00
Bernd Bestel
b6e80580ed
Make it possible to provide a different location for added product during inventory ( closes #183 )
2019-04-05 21:26:44 +02:00
Bernd Bestel
12082b52ab
Fixed differences in highlighting for expiring/expired items in header vs table on stock overview page ( fixes #198 )
2019-04-05 18:41:21 +02:00
Bernd Bestel
9d02fbc13c
Again some changes for the new product-by-barcode API method (references #171 )
2019-03-10 14:53:06 +01:00
Bernd Bestel
61f582554f
Return a proper API response when booking amount for consume/open is > current stock amount (references #170 )
2019-03-10 13:50:28 +01:00
Bernd Bestel
75241fc61f
Just some changes for the new product-by-barcode API method (references #171 )
2019-03-10 13:43:58 +01:00
Matej Drobnič
3f4a5cc0d6
Add fetch by barcode API method
2019-03-10 12:20:31 +01:00
Bernd Bestel
8504429f5f
Implemented tare weight handling ( closes #132 )
2019-03-05 17:51:50 +01:00
Bernd Bestel
77b0bc675c
Varios small UI changes / improve UI consistency
2019-03-04 17:43:12 +01:00
Bernd Bestel
8020f92d6b
Track on consume for which recipe it was ( closes #64 and references #64 )
2019-03-03 18:20:06 +01:00
Bernd Bestel
bb5daa5f8b
Display total cost of recipes based on last purchase prices ( closes #128 )
2019-03-03 16:33:48 +01:00
Bernd Bestel
b89643ddb1
Allow different locations per product in stock ( closes #124 )
...
Kind of basic for now, a different location can be set on purchase, the filters on the stock overview page handles different locations
2019-03-01 20:25:01 +01:00
Bernd Bestel
dfc05e0bec
Allow optional partial units of products in stock ( closes #123 )
2019-01-26 14:17:02 +01:00
Bernd Bestel
eec3515b6d
Don't use a second hidden amount field for shopping list entries which were added by "Add missing products to shopping list" ( fixes #149 )
2019-01-26 13:09:01 +01:00
Bernd Bestel
2ff5faacc0
Prevent opening more products than are unopened in stock
2018-11-18 13:35:21 +01:00
Bernd Bestel
a403bb687a
Show amount of opened products on stock overview page and in product card
2018-11-18 13:17:36 +01:00
Bernd Bestel
c71e46191f
Optimized stock logic
2018-11-18 12:34:05 +01:00
Bernd Bestel
10ea9c44fd
Make it possible to mark a product as opened ( closes #86 )
2018-11-17 19:39:37 +01:00
Bernd Bestel
816ca6460f
Make it possible to pick a specific stock item on consume ( closes #62 )
2018-11-17 17:51:35 +01:00
Bernd Bestel
364f6b2051
Add journal and undo UI for stock bookings, chore executions and battery charge cycles ( closes #63 , closes #97 )
2018-10-27 17:26:00 +02:00
Bernd Bestel
3e6cf545d7
Finalize stock booking undo API (references #63 and #97 )
2018-10-27 10:19:06 +02:00
Bernd Bestel
1080c3486c
Created first version of an API endpoint to undo stock bookings (references #63 and #97 )
2018-10-26 22:28:58 +02:00
Bernd Bestel
bb9caf9cc9
Fixed volatil stock logic ( fixes #69 )
2018-10-02 17:06:21 +02:00
Bernd Bestel
c4b0ef4d49
Refresh the complete row on all overview pages on changes, including the background color ( closes #39 )
2018-08-07 20:11:08 +02:00
Bernd Bestel
ca3f28b615
Refresh stock statistics on consume on stock overview page (references #26 )
2018-08-04 14:25:32 +02:00
Bernd Bestel
6081b8ee67
Fix some form validation problems ( closes #36 )
2018-08-04 07:45:24 +02:00
Bernd Bestel
c64eb27ca1
Add something for product price tracking (references #22 )
2018-07-26 20:27:38 +02:00