@extends('layouts.vertical', ['page_title' => $title]) @section('css') @endsection @section('content')

{{ $title }}

Export
@if (session()->has('error'))
{{ session()->get('error') }}
@endif @if (!empty($error))
{{ $error }}
@endif
@foreach ($groups as $group) @endforeach @foreach ($groups as $group) @foreach ($group['columns'] as $column) @endforeach @endforeach @forelse ($body as $line) @php $cellIndex = 0; @endphp @foreach ($groups as $group) @foreach ($group['columns'] as $column) @php $cellIndex++; @endphp @endforeach @endforeach @empty @endforelse @if (!empty($totals)) @php $cellIndex = 0; @endphp @foreach ($groups as $group) @foreach ($group['columns'] as $column) @php $cellIndex++; @endphp @endforeach @endforeach @endif
{{ $group['label'] }}
{{ $column['label'] }}
{{ $line[$cellIndex] ?? '' }}
No positions found for this level.
{{ $totals[$cellIndex] ?? '' }}
@endsection