@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@php $supportDesignations = ['Caretaker', 'Security Guard', 'Cleaner', 'Driver']; $primaryDesignationOptions = $designationOptions->reject(fn ($option) => in_array($option, $supportDesignations, true))->values(); $supportDesignationOptions = $designationOptions->filter(fn ($option) => in_array($option, $supportDesignations, true))->values(); @endphp
All Designations @foreach($primaryDesignationOptions as $option) {{ $option }} @endforeach
@if($supportDesignationOptions->isNotEmpty())
@foreach($supportDesignationOptions as $option) {{ $option }} @endforeach
@endif
@forelse($employees as $employee) @empty @endforelse
SL Employee Designation Branch Type Status
{{ $loop->iteration }}
@if($employee->photo_path) {{ $employee->fullName() }} @else @endif
{{ $employee->fullName() }} {{ $employee->employee_code }}
{{ $employee->designation }} {{ $employee->branch->name }} {{ str_replace('_', ' ', ucfirst($employee->employment_type)) }} {{ str_replace('_', ' ', ucfirst($employee->status)) }}
No employees yet.
@csrf
Photo preview

JPG or PNG. Max 2MB.

PDF or Word. Max 5MB.

PDF or image. Max 5MB.