@php $routeName = Route::currentRouteName(); $route = route($routeName); $statusFilter = !in_array($routeName, ['admin.merchant.active', 'admin.merchant.approved','admin.merchant.rejected']); @endphp
{{-- Status Select --}} @if($statusFilter)
@endif {{-- Search Input --}}