@if(method_exists($this, 'filtersForm')) {{ $this->filtersForm }} @endif @if($this->hasToggleableColumns()) @endif
{{ $this->applyFiltersAction }}
@if($this->reportLoaded)
@foreach($this->report->getSummary() as $summary)
{{ $summary['label'] }}
@php $isNetEarnings = $summary['label'] === 'Net Earnings'; $isPositive = money($summary['value'], \App\Utilities\Currency\CurrencyAccessor::getDefaultCurrency())->isPositive(); @endphp $isNetEarnings && $isPositive, 'text-danger-700' => $isNetEarnings && ! $isPositive, ]) > {{ $summary['value'] }}
@if(! $loop->last)
{{ $loop->remaining === 1 ? '=' : '-' }}
@endif @endforeach
@endif
Summary Details @if($this->report) @if($activeTab === 'summary') @elseif($activeTab === 'details') @endif @endif