@extends('layouts.app') @section('title', 'Salary Breakdown Settings') @section('subtitle', 'Manage employee salary components and deductions') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Create Salary Breakdown

Salary Breakdown Settings

@forelse($salaryBreakdowns as $breakdown) @empty @endforelse
Employee Basic Salary Allowances Deductions Net Salary Effective Date Status Actions
{{ $breakdown->user->initials }}
{{ $breakdown->user->full_name }}
{{ $breakdown->user->employee_id }}
TZS {{ number_format($breakdown->basic_salary, 0) }} TZS {{ number_format($breakdown->total_allowances, 0) }} TZS {{ number_format($breakdown->total_deductions, 0) }} TZS {{ number_format($breakdown->net_salary, 0) }} {{ $breakdown->effective_date->format('M d, Y') }} {{ $breakdown->is_active ? 'Active' : 'Inactive' }}
@if(!$breakdown->is_active) @endif

No salary breakdown records found

Create salary breakdown settings for your employees.

{{ $salaryBreakdowns->links() }}
@endsection