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
e133508814
Delay DataTables search by 200ms (references #424 )
2019-10-15 19:59:14 +02:00
Bernd Bestel
9e1804252e
Centralize default DataTables init settings (references #424 )
2019-10-15 19:38:51 +02:00
Lewis Juggins
1b0308f39d
Improve mobile performance on stock overview ( #424 )
2019-10-15 19:24:23 +02:00
Bernd Bestel
e59a35c6d1
Also refresh the parent product on sub product actions on the stock overview page ( closes #394 )
2019-09-27 08:30:08 +02:00
Bernd Bestel
cc2bf68f31
Fixed row highlighting after product actions on the stock overview page
2019-09-27 08:12:37 +02:00
Bernd Bestel
b8f9d09afc
Don't remove products from stock overview on consuming all and the product has a min. stock amount & show it again on undo
2019-09-26 13:55:42 +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
Bernd Bestel
292b652437
Updated localizations & improved some special and demo translation string data handling
2019-09-20 16:26:50 +02:00
Bernd Bestel
a95d6be4f4
Added more product actions on the stock overview page ( closes #327 )
2019-09-20 13:37:53 +02:00
Bernd Bestel
84e6e253ea
Fixed date "never" display on stock overview page (again closes #296 )
2019-07-07 09:04:40 +02:00
Bernd Bestel
8c205941c7
Added that products can now also be consumed as spoiled from the stock overview page (option in the more/context menu per line) ( closes #251 )
2019-07-06 18:15:53 +02:00
Bernd Bestel
0c0e8c6957
Fixed the consume success message on stock overview page ( fixes #302 )
2019-07-06 13:13:38 +02:00
Bernd Bestel
9e7d62b62d
Make sure to hide all tooltips before removing an element ( fixes #260 )
2019-06-08 16:39:35 +02:00
Bernd Bestel
e240260f9f
Unify translations strings which include an amount + quantity unit (references #161 )
2019-05-05 14:31:27 +02:00
Bernd Bestel
dd148a8fc3
Use named arguments for all gettext strings which have more than 1 argument (again closes #161 )
2019-05-05 14:13:50 +02:00
Bernd Bestel
4912dd56d1
Finished migration to use gettext (this now closes #161 )
2019-05-02 20:20:18 +02:00
Bernd Bestel
9b2dba2397
Migrated (hopefully) all translations to PO/Gettext (references #161 )
2019-05-01 20:19:18 +02:00
Bernd Bestel
27ba2bfd55
Fixed display errors when consuming partial amounts from stock overview page ( fixes #170 )
2019-03-10 14:10:25 +01:00
Bernd Bestel
77b0bc675c
Varios small UI changes / improve UI consistency
2019-03-04 17:43:12 +01:00
Bernd Bestel
bfa59dd29c
Rework API to be more RESTful (references #139 )
2019-01-19 14:51:51 +01:00
Chris Forkner
0ce8d706a6
API - A bit more RESTful ( #140 )
...
* Restful routes
* Change public/viewjs to match API routes
* Move the GET and POST together. Fixed Typos. PUT for object/user edits.
* Verb-less Generic Entity Interactions
* Create Grocy.Api.Put
* Create Grocy.Api.Delete
* Fix Volatile Slim Error order in routes and adjust to english noun
2019-01-19 08:37:21 +01:00
Bernd Bestel
2e265ac70a
Again some changes for stock overview table loading speed workaround (references #120 )
2019-01-05 16:27:26 +01:00
Bernd Bestel
30e54997b2
Workaround to improve stock overview table loading time (references #120 )
2019-01-05 14:27:40 +01:00
Bernd Bestel
02163c4305
Properly refresh opened product amount after consume on stock overview page ( fixes #114 )
2018-11-26 19:47:07 +01:00
Bernd Bestel
a3617cffb8
Small different UI improvements
...
Show the cursor as pointer on stock overview page while hovering the product name cell to highlight that the productcard can be opened
Show a waiting cursor and disable all form inputs while doing background XHR calls to highlight that the user should wait
Place the search field (to search a table) on all pages to the left most place
2018-11-24 19:40:50 +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
10ea9c44fd
Make it possible to mark a product as opened ( closes #86 )
2018-11-17 19:39:37 +01:00
Bernd Bestel
57a0864465
Show productcard as a popup on stockoverview page instead of only the product picture ( closes #93 )
2018-10-22 19:28:59 +02:00
Bernd Bestel
03eaa6c79f
Add possibility to filter by product group on stock overview page
2018-10-06 18:19:31 +02:00
Bernd Bestel
ae58606d04
Center title in product picture dialog
2018-10-02 18:00:52 +02:00
Bernd Bestel
9dd57decdf
Finish "pictures for products" features (now closes #58 )
2018-10-02 16:48:39 +02:00
Bernd Bestel
f1fc0ee549
Finished first version of "pictures for products" (references #58 )
2018-10-01 20:20:50 +02:00
Bernd Bestel
44cd26ae77
Finish first early version of "pictures for products" (references #58 )
2018-09-30 23:22:17 +02:00
Bernd Bestel
5112e0f551
Next attempt to fix tooltip flickering problems (references #66 and #51 )
2018-09-25 16:24:43 +02:00
Bernd Bestel
037d024862
Also don't remember column searches for all data tables (this now closes #60 )
2018-09-25 08:50:28 +02:00
Bernd Bestel
7401971884
Make info bars clickable and add a filter for them on all overview pages (references #60 )
2018-09-24 19:13:53 +02:00
Bernd Bestel
8e054a4981
Fix scrolling to top of page when dynamically removing a table row ( fixes #57 )
2018-09-24 09:30:26 +02:00
Bernd Bestel
496594d898
Don't save filters across page reloads for all data tables ( fixes #52 )
2018-09-08 08:56:32 +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
f018696219
Save data tables state (client side for now)
2018-07-14 10:17:12 +02:00
Bernd Bestel
c3de4b86b0
Enable column reordering for all data tables
2018-07-14 08:48:14 +02:00
Bernd Bestel
54717a81b1
Streamline data tables
2018-07-09 19:27:22 +02:00
Bernd Bestel
c58083f84a
Better approach for stock overview filtering by location (references #11 )
2018-07-08 16:54:37 +02:00
Bernd Bestel
ecf96252b9
Add possibility to filter products by location (references #10 )
2018-07-08 15:16:24 +02:00
Bernd Bestel
02ea26b090
Disable pagination for data tables
2018-07-08 13:50:52 +02:00
Bernd Bestel
9837f79f9c
Make it also possible to consume the whole stock of a product from stock overview
2018-05-13 08:42:45 +02:00
Bernd Bestel
5455ec7bde
Added missing translations
2018-05-12 16:30:10 +02:00