{{ $loop->iteration }} |
{{ $leaveRule->rule_name ? $leaveRule->rule_name : '' }} |
{{ $leaveRule->allocation_type ? ucfirst($leaveRule->allocation_type) : '' }} |
{{ $leaveRule->allocation_value ? $leaveRule->allocation_value : '' }} |
{{ $leaveRule->allocation_leave ? $leaveRule->allocation_leave : '' }} |
{{ $leaveRule->max_leave_in_month ? $leaveRule->max_leave_in_month : '' }} |
{{ $leaveRule->joining_period_days ? $leaveRule->joining_period_days : '' }} |
{{ $leaveRule->status ? ucfirst($leaveRule->status) : '' }} |
@if($leaveRule->created_by_type == 'employee')
{{ isset($leaveRule->createdByEmployee->name) ? $leaveRule->createdByEmployee->name : '' }}
@else
{{ isset($leaveRule->createdBy->name) ? $leaveRule->createdBy->name : '' }}
@endif
| {{ $leaveRule->created_at ? date('d/m/Y H:i:s', strtotime($leaveRule->created_at)) : '' }} |
@endforeach
@endif