@extends('components.company.reports.layout') @section('content')
{{ $report->getTitle() }}
{{ $company->name }}
Date Range: {{ $startDate }} to {{ $endDate }}
@foreach($report->getHeaders() as $index => $header) @endforeach @foreach($report->getCategories() as $category) @foreach($category->data as $dataIndex => $transaction) $loop->first || $loop->last || $loop->remaining === 1, ])> @foreach($transaction as $cellIndex => $cell) @endforeach @endforeach @unless($loop->last) @endunless @endforeach
{{ $header }}
@foreach($category->header as $headerRow)
@foreach($headerRow as $headerValue) @if (!empty($headerValue)) {{ $headerValue }} @endif @endforeach
@endforeach
getAlignmentClass($cellIndex), 'whitespace-normal' => $cellIndex === 'description', 'whitespace-nowrap' => $cellIndex !== 'description', ]) > @if(is_array($cell) && isset($cell['description'])) {{ $cell['description'] }} @else {{ $cell }} @endif
@endsection