'checkbox', 'items' => []]]; if (!is_array($listsPrefill) || count($listsPrefill) === 0) { $listsPrefill = [['type' => 'checkbox', 'items' => []]]; } $firstList = $listsPrefill[0]; $listType = in_array($firstList['type'] ?? '', ['ordered', 'unordered', 'checkbox'], true) ? $firstList['type'] : 'checkbox'; $listItems = $firstList['items'] ?? []; if (!is_array($listItems)) { $listItems = []; } ?>
= nl2br(sanitizeInput((string) ($detailMeal['description'] ?? ''))) ?>
0): ?>= sanitizeInput((string) $t) ?>
None listed.
None listed.
Week starts on = sanitizeInput($weekStart) ?> (day 0). Assign meals to each slot; shopping items go to the grocery list as pending review.
| Breakfast | Lunch | Dinner | |
|---|---|---|---|
| = sanitizeInput(mealDayShortLabel($weekStart, $d)) ?> | = sanitizeInput($label) ?> — |
Only a verified Head of household can add meals.
No meals in the library yet.