@extends('layouts.app') @section('title', 'Tax') @section('page', 'payroll') @section('payrollNav', 'tax') @php $statusVariant = fn ($s) => match ($s) { 'Paid' => 'success', 'Pending' => 'warning', default => 'neutral', }; @endphp @section('content') @include('partials.account-payroll-nav') @if (session('success')) {{ session('success') }} @endif @if ($errors->any()) {{ $errors->first() }} @endif Rates & enable Filter @if ($filterMonth) Clear @endif Staff deducted {{ money($totalStaff) }} {{ $filterMonth ? $filterMonth : 'All months' }} Company to pay {{ money($totalCompany) }} PAYE is staff-only @forelse ($rows as $row) {{ $row->month_label }} {{ $row->staff_name }} @if ($row->staff_code) ยท {{ $row->staff_code }} @endif {{ $row->status }} {{ money($row->staff_amount) }} {{ money($row->company_amount) }} {{ money($row->staff_amount + $row->company_amount) }} @empty No tax amounts for this filter. Add salaries first. @endforelse @endsection @push('styles') @endpush
Staff deducted
{{ money($totalStaff) }}
{{ $filterMonth ? $filterMonth : 'All months' }}
Company to pay
{{ money($totalCompany) }}
PAYE is staff-only