@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 (!empty($language['code']) && in_array($language['code'], ['vi','en'])) @else @endif
@if ($errors->has('code')) {{ $errors->first('code') }} @endif
{{sc_language_render('admin.choose_icon')}}
@if ($errors->has('icon')) {{ $errors->first('icon') }} @endif
@if ($errors->has('rtl')) {{ $errors->first('rtl') }} @endif
@if ($errors->has('sort')) {{ $errors->first('sort') }} @endif
@if ($errors->has('status')) {{ $errors->first('status') }} @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