mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
services CalendarService: include link to mealplan in calendar descriptions
This commit is contained in:
parent
8642d5219c
commit
c742bfeeec
|
|
@ -99,7 +99,8 @@ class CalendarService extends BaseService
|
|||
$mealPlanRecipeEvents[] = array(
|
||||
'title' => $titlePrefix . FindObjectInArrayByPropertyValue($recipes, 'id', $recipeOfCurrentDay->includes_recipe_id)->name,
|
||||
'start' => FindObjectInArrayByPropertyValue($recipes, 'id', $recipeOfCurrentDay->recipe_id)->name,
|
||||
'date_format' => 'date'
|
||||
'date_format' => 'date',
|
||||
'description' => GROCY_BASE_URL . '/mealplan' . '?week=' . FindObjectInArrayByPropertyValue($recipes, 'id', $recipeOfCurrentDay->recipe_id)->name
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user