@extends('layouts.vertical') @section('css') @endsection @php $currentTab = 1; if(app('request')->input('t')){ $currentTab = app('request')->input('t'); } @endphp @section('breadcrumb')

General comments

@if((isset($records) && !empty($records)) && ( ( isset($records[0]->draftCount) && count($records) > 1 ) || count($records) > 0) )
@endif
@endsection @section('content')

Filter general comments

@if(isset($filter['room']) || isset($filter['child']) || isset($filter['dates'])) Clear @endif
@if((isset($records) && !empty($records)) && ( ( isset($records[0]->draftCount) && count($records) > 1 ) || ( !isset($records[0]->draftCount) && count($records) > 0) ) ) @foreach ($records as $key => $record) @if(isset($records[0]->draftCount) && $key ==0) @php continue; @endphp @endif
{{$record->child->name}}’s General comment on {{\Carbon\Carbon::parse($record->date)->format('d/m/Y')}}
{{date('d/m/Y, h:i A', strtotime($record->_createdAt))}} Posted by {{$record->publisher->firstName}} {{$record->publisher->lastName}}
@if(isset($record->comment) && !empty($record->comment))

{{$record->comment}}

@endif
@if(isset($record->media))
@foreach($record->media as $media) @endforeach
@endif @if(isset($record->isPublic) && $record->isPublic == false)
This has not been shared with parents.
@endif @if(isset($record->type) && $record->type == "6") @if(isset($record->parentSignatures) && !empty($record->parentSignatures))

Parental Consent:

@foreach ($record->parentSignatures as $signature)
@if(isset($signature->image)) signature @endif
{{isset($signature->signer) ? $signature->signer : ""}}
@endforeach
@endif @endif
@endforeach
@if($previousurl!="") Previous @endif @if($nexturl!="") Next @endif
@else
@if($page == 1)

There are no records found.

@else

There are no more records found.

@endif
@endif
@endsection @section('script-bottom') @endsection