grocy/public/viewjs
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 Added input shorthands for date fields to increase/decrease the date by 1 month/year (closes #405) 2019-10-02 16:06:44 +02:00
about.js Make it possible to show the changelog directly via /about?tab=changelog 2019-03-09 16:25:23 +01:00
barcodescannertesting.js Added a little barcode scanner testing page (references #362) 2019-09-21 20:01:49 +02:00
batteries.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
batteriesjournal.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
batteriesoverview.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
batteriessettings.js Make "next X days" configurable (closes #175) 2019-04-20 15:30:45 +02:00
batteryform.js Started working on user-defined-fields for all entities (references #176) 2019-04-22 22:16:35 +02:00
batterytracking.js Use named arguments for all gettext strings which have more than 1 argument (again closes #161) 2019-05-05 14:13:50 +02:00
calendar.js Never show close buttons in modal dialogs, this is not needed 2019-09-24 10:24:47 +02:00
choreform.js Added a chore period type "yearly" (closes #407) 2019-10-04 11:24:51 +02:00
chores.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
choresjournal.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
choresoverview.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
choressettings.js Make "next X days" configurable (closes #175) 2019-04-20 15:30:45 +02:00
choretracking.js Added a sub feature flag to disable chore assignments when not needed 2019-09-26 17:20:25 +02:00
consume.js Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
equipment.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
equipmentform.js Use the summernote editor for product description (closes #288) 2019-08-15 14:35:28 +02:00
inventory.js Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
locationcontentsheet.js Finished the implementation of "Location Content Sheet" (closes #341) 2019-08-11 09:24:47 +02:00
locationform.js Started working on user-defined-fields for all entities (references #176) 2019-04-22 22:16:35 +02:00
locations.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
login.js Migrated (hopefully) all translations to PO/Gettext (references #161) 2019-05-01 20:19:18 +02:00
manageapikeys.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
mealplan.js Use properly formatted numbers "everywhere" (partly references #389) 2019-09-26 15:25:30 +02:00
openapiui.js Finish API documentation and token auth (references #5) 2018-04-21 19:18:00 +02:00
productform.js Changelog and code optimizations for pull request #420 2019-10-19 10:33:46 +02:00
productgroupform.js Started working on user-defined-fields for all entities (references #176) 2019-04-22 22:16:35 +02:00
productgroups.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
products.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
purchase.js Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
quantityunitconversionform.js Properly show qu plural forms on the product or qu conversion edit page 2019-09-20 10:30:46 +02:00
quantityunitform.js Centralize default DataTables init settings (references #424) 2019-10-15 19:38:51 +02:00
quantityunitpluraltesting.js Auto focus the amount field on the qu plural form testing page (references #261) 2019-09-18 20:27:35 +02:00
quantityunits.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
recipeform.js Centralize default DataTables init settings (references #424) 2019-10-15 19:38:51 +02:00
recipeposform.js Only cascade changes of stock QU to recipe ingredients which uses the same QU (references #177) 2019-09-17 16:01:30 +02:00
recipes.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
shoppinglist.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
shoppinglistform.js Slightly reordered the header of the shopping list page 2019-09-20 20:14:47 +02:00
shoppinglistitemform.js Reuse existing shopping list items when adding products from the stock overview page (closes #375) 2019-09-24 18:27:50 +02:00
stockdetail.js Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
stockedit.js Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
stockjournal.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
stockoverview.js Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
stocksettings.js Make it possible to customize the default amount for purchase/consume (closes #215) 2019-05-04 13:19:34 +02:00
taskcategories.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
taskcategoryform.js Started working on user-defined-fields for all entities (references #176) 2019-04-22 22:16:35 +02:00
taskform.js Finalize user-defined-fields (closes #176) 2019-04-23 09:06:18 +02:00
tasks.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
taskssettings.js Make "next X days" configurable (closes #175) 2019-04-20 15:30:45 +02:00
transfer.js Stock Service Updates (#421) 2019-12-19 19:48:36 +01:00
userentities.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
userentityform.js An icon is not needed when not showing an userentity in the sidebar menu (references #242) 2019-09-20 10:22:59 +02:00
userfieldform.js Implemented new Userfield type "Select list" (closes #325) 2019-09-17 19:11:06 +02:00
userfields.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
userform.js More improvements on the REST API (references #139) 2019-01-21 22:13:42 +01:00
userobjectform.js Reduce console.log spam 2019-09-27 14:08:24 +02:00
userobjects.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00
users.js Delay DataTables search by 200ms (references #424) 2019-10-15 19:59:14 +02:00