@php $profitTone = $totals['profit_cents'] < 0 ? 'is-danger' : 'is-success'; $query = request()->only(['period', 'from', 'to']); @endphp