Logo

{{ __("report_pdf.dashboard") }}: {{ $dashboard_name }}

{{ __("report_pdf.created_at") }}: {{ $created_at }}

{{-- SECTIONS --}} @foreach($sections as $index => $section)
@if(($index > 0) && ($index < count($sections) - 1))
@endif {!!Utilities::reportShowTitle($section,"section")!!} {{-- ROWS --}} @foreach($section['rows'] as $row)
{!!Utilities::reportShowTitle($row,null)!!} {{-- COLS / NODES --}} @foreach ($row['cols'] as $node) @endforeach
{!!Utilities::reportShowTitle($node,"col")!!}
@switch($node['type']) @case("dd")
@foreach($node['data'] as $row_d) {!!Utilities::reportDlUl("dt",$row_d[0])!!} {!!Utilities::reportDlUl("dd",$row_d[1])!!} @endforeach
@break @case("list")
    @foreach($node['data'] as $li)
  • {!!Utilities::reportDlUl("lit",$li[0])!!} {!!Utilities::reportDlUl("lid",$li[1])!!}
  • @endforeach
@break @case("table") @php $grid_mode = $node['meta']['grid']['mode'] ?? 'full'; $table_font_size = isset($node['meta']['font_size']) ? $node['meta']['font_size'] : 'xs'; @endphp @foreach($node['data'] as $table_row) @foreach($table_row as $cell) @php $col_span = isset($cell['colspan']) ? 'text-center' : '' ; $bg_color = $cell['bgcolor'] ?? '#FFFFFF'; $font_weight = $cell['weight'] ?? 'normal'; $font_style = $cell['style'] ?? 'normal'; @endphp @endforeach @endforeach
@if (isset($cell['key'])) {{ Utilities::transIfExist($cell["key"],"report_pdf"); }} @elseif (isset($cell['value']) && !is_numeric($cell['value'])) {{ Utilities::transIfExist($cell["value"],"report_pdf"); }} @else {{ $cell['value'] ?? '' }} @endif
@break @case("paragraph")
{!! $node['data'] !!}
@break @case("chart") @if (isset($charts[$node["id"]])) @php $resize = "100%"; if (isset($node["resize"])) { $resize = $node["resize"]; } @endphp Chart Image @else {{ __("report_pdf.error_in_chart_rendering") }} @endif @break @case("image") Image @break @endswitch @if (isset($node['caption']))

{{$node['caption']}}

@endif
@endforeach
@endforeach