@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; $currentStructure = $employee->salaryStructures->firstWhere('is_current', true); @endphp
@if($employee->photo_path) {{ $employee->fullName() }} @else @endif
Back to Employees

Portal Login

@if($employee->user && $employee->user->is_active) Active @elseif($employee->user) Deactivated @else No Login @endif
@if($employee->user)
Email:
{{ $employee->user->email }}
@csrf @method('PUT') @if($employee->user->is_active) @else @endif
@else

This employee doesn't have a portal login yet — without one, they can't be messaged in Chat or sign in.

@endif

Public Website Profile

Controls whether this employee appears on the public {{ $employee->teacher ? 'Faculty' : 'Staff' }} page.

@csrf
New photo preview @if($employee->public_photo_path) {{ $employee->fullName() }} @else
{{ strtoupper(substr($employee->first_name, 0, 1)) }}
@endif

Leave Requests

@forelse($employee->leaveRequests as $request) @empty @endforelse
Type Dates Days Status
{{ $request->leaveType->name }} {{ $request->start_date->format('M j') }} – {{ $request->end_date->format('M j, Y') }} {{ $request->days }} {{ ucfirst($request->status) }}
No leave requests.

Salary Structure

@if($currentStructure)
Basic
{{ \App\Support\Money::format($currentStructure->basic_cents) }}
@foreach($currentStructure->earningItems() as $item)
{{ $item->label }}
{{ \App\Support\Money::format($item->amount_cents) }}
@endforeach
Tax
{{ $currentStructure->tax_percent }}%
PF
{{ $currentStructure->pf_percent }}%
@foreach($currentStructure->deductionItems() as $item)
{{ $item->label }}
−{{ \App\Support\Money::format($item->amount_cents) }}
@endforeach
Gross
{{ \App\Support\Money::format($currentStructure->grossCents()) }}
Effective From
{{ $currentStructure->effective_from->format('M j, Y') }}
@else

No salary structure set yet.

@endif

Payslips

@forelse($employee->payslips as $payslip) @empty @endforelse
Period Gross Net Status
{{ $payslip->pay_period }} {{ \App\Support\Money::format($payslip->gross_cents) }} {{ \App\Support\Money::format($payslip->net_cents) }} {{ ucfirst($payslip->status) }}
No payslips generated yet.
@csrf
Gross
Tax + PF deduction
Other deductions
Net
@csrf

@if($employee->user) A new random password will be generated and shown once. The staff member's login email stays unless you change it here. @elseif($employee->email) Defaults to the staff member's contact email. You can edit it if you prefer a different login address. @else No contact email on file — auto-generated as a unique institutional address. You can edit it if you prefer. @endif

A random password will be generated and shown once — save it before leaving this page.