Logo @if ($user_lastname !== "")

{{ html_entity_decode($user_firstname, ENT_QUOTES, 'UTF-8') }} {{ html_entity_decode($user_lastname, ENT_QUOTES, 'UTF-8') }}

@else

{{ $user_email }}

@endif

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

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

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

{{ __("report_pdf.sheet") }}: {{ $sheet_name }}

{{-- SECTIONS --}} @foreach($sections as $index => $section)
@if(($index > 0) && ($index < count($sections) - 1))
@endif {!!Utilities::reportShowTitle($section,"section")!!} {{-- ROWS --}} @foreach($section['rows'] as $row) @if (isset($row['cut']) && ($row['cut'] === true))
{{ __("report_pdf.sheet") }}: {{ $sheet_name }} {{ __("report_pdf.updated_at") }}: {{ $updated_at }}
@endif
{!!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'; $header_mode = $node['meta']['header'] ?? 'horizontal'; @endphp @foreach($node['data'] as $index_row => $table_row) @if (!empty($table_row)) @if (($header_mode === "horizontal") && ($index_row === 0)) @else @if ($index_row === 0) @endif @endif @php $tag_td_th = "td"; $scope = ''; if (($header_mode === "horizontal") && ($index_row === 0)) { $tag_td_th = "th"; $scope = 'scope="col"'; } @endphp @foreach($table_row as $index_cell => $cell) @php if ($header_mode === "vertical") { if ($index_cell === 0) { $tag_td_th = "th"; $scope = 'scope="row"'; } else { $tag_td_th = "td"; $scope = ''; } } $col_span = isset($cell['colspan']) ? 'text-center' : '' ; $color = $cell['color'] ?? '#000000'; $bg_color = $cell['bgcolor'] ?? '#FFFFFF'; $font_weight = $cell['weight'] ?? 'normal'; $font_style = $cell['style'] ?? 'normal'; $cell_width = isset($cell['width']) ? $cell['width'].'%' : '' ; @endphp <{{$tag_td_th}} {{$scope}} colspan="{{ $cell['colspan'] ?? 1 }}" width= "{{$cell_width}}" class="p-2 text-{{$table_font_size}} {{$col_span}}" style="color: {{ $color }}; background-color: {{ $bg_color }}; font-weight: {{ $font_weight }}; font-style: {{ $font_style }}"> @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 {{ str_replace('.', ',', strval($cell['value'])) ?? '' }} @endif @endforeach @if (($header_mode === "horizontal") && ($index_row === 0)) @else @if ($index_row === count($node['data']) - 1) @endif @endif @endif @endforeach
@break @case("paragraph")
{!! $node['data'] !!}
@break @case("chart") @if (isset($charts[$node["id"]])) @php $resize = "100%"; if (isset($node["resize"])) { $resize = $node["resize"]; } $alternative = Utilities::reportShowTitle($node,"alt"); @endphp {{ $alternative }} @else {{ __("report_pdf.error_in_chart_rendering") }} @endif @break @case("image") Image @break @endswitch @if (isset($node['caption']))

{!! $node['caption'] !!}

@endif
@endforeach
@endforeach @if (config("report.v2.has_disclaimer"))
{{ __("report.disclaimer_title") }}
{!!__("report.disclaimer_text_v2")!!}
@endif