grocy/public
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
..
components_unmanaged/noto-sans-v9-latin Updated unmanaged dependencies (font) 2019-09-28 08:53:59 +02:00
css Formatting... 2019-09-27 17:32:52 +02:00
img Added all application icon variants (closes #159) 2019-03-02 08:56:53 +01:00
js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
viewjs Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
.htaccess Reorganize project part 3 2018-04-12 21:13:38 +02:00
index.php Separate app bootstrapping and routes 2018-04-15 14:51:31 +02:00
robots.txt Move public stuff into subdirectory 2018-04-11 20:47:03 +02:00