grocy/services
Rosemary Orchard 5e30e89737
Add support for "Move on Open" (#1863)
* Add functionality to move a product when it is opened

* Update the API to support this (and some other new fields)

* Remove console, update move on open when either the default or the consume location change

* Fix conflict from fridge

* Ignore .DS_STORE from macOS

* Fix the migration conflict

* Fix the default location not appending properly

* Revert changes no longer needed

* Fix the checkbox disable logic, and call the function on page load

* Simplify the transfer to use the existing function (which also adds logs)

* Only move it if it's moving

* Code formatting / naming

* Clarify help text (it's not always about one unit, but about the corresponding amount opened)

* Handle splitted stock entries + optimized/unified product property checks

* Added UI feedback on auto moving

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2022-04-18 18:25:08 +02:00
..
ApiKeyService.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
ApplicationService.php Squashed commit 2022-02-08 18:08:26 +01:00
BaseService.php Squashed commit 2021-07-16 17:32:08 +02:00
BatteriesService.php Applied PHP-CS-Fixer rules 2020-09-01 21:29:47 +02:00
CalendarService.php Show the meal plan section for a meal plan entry types on the calendar (references #1582) 2022-02-08 19:09:17 +01:00
ChoresService.php Make it possible to manually re-assign chores (closes #1492, references #1830) 2022-04-03 13:56:14 +02:00
DatabaseMigrationService.php Fixed purchase/consume page handling when FEATURE_FLAG_STOCK_LOCATION_TRACKING is disabled (fixes #1829) 2022-03-23 17:35:06 +01:00
DatabaseService.php Make user settings available in SQLite (needed for #1813) 2022-03-29 19:44:01 +02:00
DemoDataGeneratorService.php Automatically create/update/delete inverse QU conversions (closes #1844) 2022-04-06 22:21:21 +02:00
FilesService.php Squashed commit 2021-07-16 17:32:08 +02:00
LocalizationService.php Handle not having any QU in LocalizationService (fixes #1783) 2022-02-12 22:31:35 +01:00
PrintService.php Squashed commit 2021-07-16 17:32:08 +02:00
RecipesService.php Fixed products product stock entry price (fixes #1791) 2022-02-19 09:03:42 +01:00
SessionService.php Show stock journal entries of deleted users / fixed default user handling (fixes #1725) 2022-01-06 15:14:32 +01:00
StockService.php Add support for "Move on Open" (#1863) 2022-04-18 18:25:08 +02:00
TasksService.php Also return the next_execution_assigned_user for the /chores API endpoint (closes #1493) 2021-07-06 19:07:45 +02:00
UserfieldsService.php Squashed commit 2021-07-16 17:32:08 +02:00
UsersService.php Squashed commit 2021-07-16 17:32:08 +02:00