@extends('layouts.admin') @section('content')
Dashboard
@if(session('status')) @endif

{!! $chart1->options['chart_title'] !!}

{!! $chart1->renderHtml() !!}

{!! $chart2->options['chart_title'] !!}

{!! $chart2->renderHtml() !!}

{!! $chart3->options['chart_title'] !!}

{!! $chart3->renderHtml() !!}
{{-- Widget - latest entries --}}

{{ $settings4['chart_title'] }}

@foreach($settings4['fields'] as $key => $value) @endforeach @forelse($settings4['data'] as $entry) @foreach($settings4['fields'] as $key => $value) @endforeach @empty @endforelse
{{ trans(sprintf('cruds.%s.fields.%s', $settings4['translation_key'] ?? 'pleaseUpdateWidget', $key)) }}
@if($value === '') {{ $entry->{$key} }} @elseif(is_iterable($entry->{$key})) @foreach($entry->{$key} as $subEentry) {{ $subEentry->{$value} }} @endforeach @else {{ data_get($entry, $key . '.' . $value) }} @endif
{{ __('No entries found') }}
@endsection @section('scripts') @parent {!! $chart1->renderJs() !!} {!! $chart2->renderJs() !!} {!! $chart3->renderJs() !!} @endsection