@extends('layouts.app') @section('title', 'Salary Breakdown Details') @section('subtitle', 'View salary components and deductions for an employee') @section('content')
{{ $salaryBreakdown->user->full_name }}
Employee ID: {{ $salaryBreakdown->user->employee_id }}
Position: {{ $salaryBreakdown->user->position }}
Department: {{ $salaryBreakdown->user->department->name ?? 'N/A' }}
Example: If employee works 5 hours overtime
Calculation: 5 hours × TZS {{ number_format($salaryBreakdown->calculateHourlyRate(), 2) }} × {{ $salaryBreakdown->overtime_rate_multiplier }}x
{{ $salaryBreakdown->notes }}