@extends('layouts.userapp') @section('content') @php use Carbon\Carbon; @endphp @if(session('success'))
| Employee Name | Leave Type | Date Leaves | Status | Action | @if($approveleave->isEmpty())
|---|---|---|---|---|
| NO LEAVES NEED TO APPROVE YET | ||||
| {{ $leave->employee_first_name }} | {{ $leave->leavetype_code }} | {{ \Carbon\Carbon::parse($leave->start_date)->format('l, d M Y') }} - {{ \Carbon\Carbon::parse($leave->end_date)->format('l, d M Y') }} | {{ $leave->display_status }} | Action |