{{-- @if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif --}} @if(session('success')) @endif @if($errors->any()) @endif
{{--
{{ substr($staff->name, 0, 1) }}
--}}
@if($staff->profile_photo) {{ $staff->name }} @else
{{ substr($staff->name, 0, 1) }}
@endif

{{ $staff->name }}

{{ $staff->user?->email ?? '-' }} | ID: #{{ $staff->id }}

← Back to List
@if($staff->profile_photo) {{ $staff->name }} @else
{{ substr($staff->name, 0, 1) }}
@endif

{{ $staff->name }}

{{ $staff->user?->role ?? 'Team Member' }}

General Information

#{{ $staff->employee_id }}

{{ $staff->user?->email ?? '-' }}

{{ $staff->contact_number ?? '--' }}

{{ $staff->created_at->format('M d, Y') }}

{{ $staff->department ?? 'N/A' }}

{{ $staff->updated_at->format('d/m/Y @ H:i') }}

{{--
--}}
    @forelse($staff->activities as $activity)
  • @if(!$loop->last) @endif
    @if($activity->type === 'Staff Details') @elseif($activity->type === 'Salary Update') @else @endif

    {{ $activity->description }} by {{ auth()->user()->name }}

    @if($activity->ip_address)

    IP: {{ $activity->ip_address }}

    @endif
  • @empty

    No activity recorded yet.

    @endforelse
@csrf
@if($staff->salaryConfiguration)

Total: ₹{{ number_format($staff->salaryConfiguration->total_salary, 2) }}

@endif
ADD/UPDATE SALARY
@csrf
Add/Update
{{--

Present

{{ $attendanceSummary['present'] }}

Absent

{{ $attendanceSummary['absent'] }}

Overtime Hours

{{ number_format($attendanceSummary['overtime_hours'], 2) }}

@csrf Check In
@csrf
Export CSV
@if(auth()->user()->isCompanyAdmin())
@csrf

Mark Individual Attendance

Save Attendance
@endif
@forelse($monthlyAttendance as $entry) @empty @endforelse
Date Status Check In Check Out Overtime
{{ \Carbon\Carbon::parse($entry->date)->format('d M Y') }} {{ $entry->status }} {{ $entry->check_in_time ?? '-' }} {{ $entry->check_out_time ?? '-' }} {{ $entry->overtime_hours }}
No attendance found for this month.
--}}

Uploaded Documents

@foreach($staff->documents as $doc)

{{ $doc->document_type }}

Download
@endforeach
@csrf

Upload New Document