@extends('template.layouts.template-base') @section('title') Leave Management | {{ config('setting.website_name') ?: config('app.name') }} @endsection @section('content')
| S.No | {{ $type === 'Project' ? 'Project' : 'Client' }} | Staff ID | Staff Name | Absent | Week Off | Loss of Pay (LOP) | Casual Leave (CL) |
|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $type === 'Project' ? ($staff->project?->project_name ?: '-') : ($staff->client?->company_name ?: '-') }} | {{ $staff->staff_id }} | {{ $staff->staff_name }} | {{ $staff->absent_days }} | {{ $staff->weekoff_days }} | {{ $staff->lop_days }} | {{ $staff->cl_days }} |