@if ($leave->duration=='multiple')
From Date: |
{{ (!is_null($leave->start_date)) ? $leave->start_date : '-' }} |
To Date: |
{{ (!is_null($leave->end_date)) ? $leave->end_date : '-' }} |
@else
Date: |
{{ (!is_null($leave->start_date)) ? $leave->start_date : '-' }} |
@endif
@if ($leave->leave_status!='pending')
{{ucwords($leave->leave_status)}} By: |
{{ ucwords($leave->action_by) }} |
{{ucwords($leave->leave_status)}} Date & Time: |
{{ $leave->action_datetime }} |
@endif
Reason for absence: |
{{ (!is_null($leave->reason)) ? $leave->reason : '-' }} |