@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