@extends('layouts.school') @section('title', 'Payroll Profiles') @section('header', 'Payroll Profiles') @section('content')

Add profile

@csrf @include('school.payroll._profile-form', ['profile' => null])
@forelse ($profiles as $profile) @empty @endforelse
Staff Basic Allowances Deductions Net Status

{{ $profile->full_name }}

{{ $profile->designation ?: ($profile->employee_no ?: '') }}

₦{{ number_format($profile->basic_salary, 2) }} ₦{{ number_format($profile->allowances_total, 2) }} ₦{{ number_format($profile->deductions_total, 2) }} ₦{{ number_format($profile->net, 2) }} {{ $profile->is_active ? 'Active' : 'Inactive' }}
Edit
@csrf @method('PATCH') @include('school.payroll._profile-form', ['profile' => $profile])
@csrf @method('PATCH')
No payroll profiles yet.
@endsection