@extends('layouts.app')
@section('title', 'Leaves')
@section('content')
@if(session('success'))
{{ session('success') }}
@endif
| Employee | Type | From | To | Status | Actions |
@forelse($items as $item)
| {{ $item->employee->name ?: ($item->employee->user?->name ?? '') }} | {{ $item->type }} | {{ $item->start_date }} | {{ $item->end_date }} | |
View
Edit
|
@empty
| No records found. |
@endforelse
{{ $items->links() }}
{{ $items->total() }} record(s) found.
@endsection