@php $isYajra = $isYajra ?? false; $isAjax = $isAjax ?? false; $isAjaxYajra = $isAjaxYajra ?? false; @endphp @extends($data->count() > 0 || $isYajra || $isAjaxYajra ? 'stisla.layouts.app-table' : 'stisla.layouts.app') @section('title') {{ $title }} @endsection @section('content') @include('stisla.includes.breadcrumbs.breadcrumb-table') @include('stisla.includes.others.alert-password')

{{ $title }}

{{ __('Menampilkan halaman ' . $title) }}.

@yield('filter_top') @if ($data->count() > 0 || $isYajra || $isAjaxYajra) @if ($canExport)

{!! __('Aksi Ekspor (Server Side)') !!}

@include('stisla.includes.forms.buttons.btn-pdf-download', ['link' => $routePdf]) @include('stisla.includes.forms.buttons.btn-excel-download', ['link' => $routeExcel]) @include('stisla.includes.forms.buttons.btn-csv-download', ['link' => $routeCsv]) @include('stisla.includes.forms.buttons.btn-json-download', ['link' => $routeJson])
@endif @yield('panel1') @yield('panel2')

Data {{ $title }}

@if ($canImportExcel) @include('stisla.includes.forms.buttons.btn-import-excel') @endif @if ($canCreate) @include('stisla.includes.forms.buttons.btn-add', ['link' => $route_create]) @endif @yield('btn-action-header')
@include('stisla.includes.forms.buttons.btn-datatable')
@if ($isYajra || $isAjaxYajra) @endif @yield('table')
@else @include('stisla.includes.others.empty-state', ['title' => 'Data ' . $title, 'icon' => $moduleIcon, 'link' => $route_create]) @endif
@endsection @push('css') @endpush @push('js') @endpush @push('scripts') @endpush @push('modals') @if ($canImportExcel) @include('stisla.includes.modals.modal-import-excel', [ 'formAction' => $routeImportExcel, 'downloadLink' => $routeExampleExcel, ]) @endif @if ($canCreate) @include('stisla.includes.modals.modal-form', [ 'formAction' => $routeImportExcel, 'downloadLink' => $routeExampleExcel, ]) @endif @endpush