@php
$leaveType = '
' . $leave->type->type_name . '';
if ($leave->status == 'approved') {
$class = 'text-light-green';
$status = __('app.approved');
} elseif ($leave->status == 'pending') {
$class = 'text-yellow';
$status = __('app.pending');
} else {
$class = 'text-red';
$status = __('app.rejected');
}
$paidStatus = '
' . $status;
$reject_reason = !is_null($leave->reject_reason) ? $leave->reject_reason : '--';
@endphp
@lang('modules.leaves.applicantName')
@if ($leave->status == 'rejected')
@endif