@extends('dashboard.layouts.app') @section('content')
Regularization / Permission Details
Back
Employee Name
{{ $record->staff->full_name ?? 'N/A' }}
Type
{{ ucfirst($record->type) }}
Date
{{ $record->date }}
From Time
{{ $record->from_time ? \Carbon\Carbon::parse($record->from_time)->format('H:i') : '-' }}
End Time
{{ $record->end_time ? \Carbon\Carbon::parse($record->end_time)->format('H:i') : '-' }}
Permission
{{ $record->permission ?? '-' }}
Reason
{{ $record->reason ?? '-' }}
@if($record->type == "regularizations")
@foreach ($record->HrRegularizationsDates as $date) @endforeach
Date Check In Check Out Reason
@endif
@endsection