@extends('salesperson.layout_main') @section('after_styles') @endsection @section('header')

{{ $crud->entity_name_plural }} {{ trans('backpack::crud.all') }} {{ $crud->entity_name_plural }} {{ trans('backpack::crud.in_the_database') }}.

@endsection @section('content')
@include('crud::inc.button_stack', ['stack' => 'top'])
@if ($crud->details_row) @endif {{-- Table columns --}} @foreach ($crud->columns as $column) @endforeach @if ( $crud->buttons->where('stack', 'line')->count() ) @endif @if (!$crud->ajaxTable()) @foreach ($entries as $k => $entry) @if ($crud->details_row) @include('crud::columns.details_row_button') @endif {{-- load the view from the application if it exists, otherwise load the one in the package --}} @foreach ($crud->columns as $column) @if (!isset($column['type'])) @include('crud::columns.text') @else @if(view()->exists('vendor.backpack.crud.columns.'.$column['type'])) @include('vendor.backpack.crud.columns.'.$column['type']) @else @if(view()->exists('crud::columns.'.$column['type'])) @include('crud::columns.'.$column['type']) @else @include('crud::columns.text') @endif @endif @endif @endforeach @if ($crud->buttons->where('stack', 'line')->count()) @endif @endforeach @endif @if ($crud->details_row) @endif {{-- Table columns --}} @foreach ($crud->columns as $column) @endforeach @if ( $crud->buttons->where('stack', 'line')->count() ) @endif
{{ $column['label'] }}{{ trans('backpack::crud.actions') }}
@include('crud::inc.button_stack', ['stack' => 'line'])
{{ $column['label'] }}{{ trans('backpack::crud.actions') }}
@include('salesperson.button_stack', ['stack' => 'bottom'])
@endsection @section('after_scripts') @if ($crud->exportButtons()) @endif @endsection