@extends('layouts.app') @section('content')
@include('partials.title-pad', [ 'title' => __('labels.sub_hobbies_list_heading'), 'search' => $search, 'searchPlaceholder' => __('placeholders.search', ['static' => __('static.sub_hobby')]), 'list' => $sub_hobbies, // 'create' => 'masters.sub_hobby.create', 'export' => 'masters.sub_hobby.export', 'filter' => 'filter', ])
@php $startingIndex = ($sub_hobbies->currentPage() - 1) * $sub_hobbies->perPage() + 1; @endphp @forelse ($sub_hobbies as $key => $sub_hobby) @empty @endforelse
{{ __('datatable.id') }} {{ __('datatable.sub_hobby') }} {{ __('datatable.hobby') }} {{ __('datatable.action') }}
{{ $startingIndex + $key }} {{ $sub_hobby->name }} {{ $sub_hobby->hobby_name }}

{{ __('labels.no_records_found') }}

{{-- Pagination --}} {{ $sub_hobbies->links('partials.pagination') }} {{-- Pagination End --}}
@section('scripts') @endsection @endsection