@php $periods = \App\Domain\Accounting\Services\AccountsSummaryService::PERIODS; $keep = collect(request()->only(['source', 'category']))->filter()->all(); @endphp
@foreach($periods as $key => $label) @continue($key === 'custom') {{ $label }} @endforeach
@foreach($keep as $name => $value) @endforeach to

{{ $period['label'] }}