@extends(backpack_view('layouts.top_left')) @yield('before_scripts') @php $defaultBreadcrumbs = [ $crud->entity_name_plural => url($crud->route), trans('backpack::crud.list') => false, ]; // if breadcrumbs aren't defined in the CrudController, use the default breadcrumbs $breadcrumbs = $breadcrumbs ?? $defaultBreadcrumbs; @endphp @section('header_left')

{!! $crud->getHeading() ?? $crud->entity_name_plural !!}

@endsection @section('header_right') @if ( $crud->buttons()->where('stack', 'top')->count() || $crud->exportButtons())
@include('crud::inc.button_stack', ['stack' => 'top'])
@endif @endsection @section('search_stack') @php $filter_count = count(request()->all()); @endphp
{{trans('backpack::crud.adv_search')}}
@endsection @section('content') @if ($crud->filtersEnabled()) @include('crud::inc.filters_navbar') @endif @if (isset($crud->data['export_filters'])) @include('crud::inc.filters_navbar_for_report') @endif @yield('before_list_content')
{{-- Backpack List Filters --}}
{!! $crud->getSubheading() ?? '' !!}
{{-- Table columns --}} @foreach ($crud->columns() as $column) @endforeach @if ( $crud->buttons()->where('stack', 'line')->count() ) @endif
{!! $column['label'] !!} {{ trans('backpack::crud.actions') }}
@if ( $crud->buttons()->where('stack', 'bottom')->count() )
@include('crud::inc.button_stack', ['stack' => 'bottom'])
@endif
@endsection @section('after_styles') @stack('crud_list_styles') @endsection @section('after_scripts') @include('crud::inc.datatables_logic') @yield('after_scripts') @stack('crud_list_scripts') @endsection