@extends('layouts.vertical') @section('css') @endsection @php $currentTab = 1; if(app('request')->input('t')){ $currentTab = app('request')->input('t'); } $DailyReportType = config('constant.DailyReportType'); $MealType = config('constant.MealType'); $MealAmount = config('constant.MealAmount'); $MedicationList = config('constant.MedicationList'); @endphp @section('breadcrumb')
At {{date('h:i A', strtotime($record->date))}}, I ate {{ $MealAmount[$record->mealAmount??""] ?? ""}} {{ $MealType[$record->mealType??""] ?? ""}}; {{implode(', ', collect($record->meals)->pluck('name')->toArray())}}
@endif @elseif(isset($record->type) && $record->type == "6") @if(isset($record->name) && !empty($record->name))I took {{isset($record->amount) && !empty($record->amount) ? $record->amount . ' ' . ($MedicationList[$record->unit?? ""] ?? "") . ($record->amount > 1 ? 's':'') . ' of' : '' }} {{$record->name}} at {{date('h:i A', strtotime($record->date))}}.
@endif{{$record->comment}}
@endif @endifParental Consent:
There are no records found.
@elseThere are no more records found.
@endif