@extends($templatePathAdmin.'layout') @section('main') @php $id = empty($id) ? 0 : $id; @endphp

{!! $title_action !!}

@if ($layout == 'edit') @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('type'))
{{ $errors->first('type') }} @endif
@csrf

{!! $title ?? '' !!}

@if (!empty($removeList)) @endif @foreach ($listTh as $key => $th) @endforeach @foreach ($dataTr as $keyRow => $tr) @if (!empty($removeList)) @endif @foreach ($tr as $key => $trtd) @endforeach @endforeach
{!! $th !!}
{!! $trtd !!}
{!! $resultItems??'' !!}
@endsection @push('styles') {!! $css ?? '' !!} @endpush @push('scripts') {{-- //Pjax --}} {{-- //End pjax --}} {!! $js ?? '' !!} @endpush