@extends('dashboard.layouts.app') @section('content')
@if (session('success')) @endif @if ($errors->any()) @endif
Show
@if ($types->isNotEmpty()) @foreach ($types as $type) @include('dashboard.leave_define.edit', ['type' => $type]) @include('dashboard.leave_define.delete', ['type' => $type]) @endforeach
User Role Leave Type Days Action
{{ $type->user->full_name }} {{ $type->role->name }} {{ $type->type->type }} {{ $type->days }}
{{ $types->appends(request()->except('page'))->links('pagination::bootstrap-5') }}
@else

Please select a role, month, or year to view user records.

@endif
@include('dashboard.leave_define.create') @endsection