@extends('admin.layouts.layouts') @section('title', 'View Leave Setting') @section('content')
Leave Setting View
← Back
Effective Month {{ date('F, Y', strtotime($setting->effective_date)) }}
Total Leave Days {{ $setting->total_leave }}
Created At {{ $setting->created_at->format('d-m-Y H:i') }}
Created By {{ $setting->creator->name }}
Updated At {{ isset($setting->updated_by) ? $setting->updated_at->format('d-m-Y H:i') : '-' }}
Updated By {{ isset($setting->updated_by) ? $setting->editor->name : '-' }}
Leave Type Allocations
@foreach($setting->leaveSettingData as $detail) @endforeach
Leave Type Short Name Allocated Leaves Carry Forward Leaves
{{ $detail->leaveType->name }} {{ $detail->leaveType->short_name }} {{ $detail->leave_count }} @if($detail->leaveType->carry_forward) {{ $detail->carry_forward_count }} @else - @endif
@endsection