@extends('layouts.app') @section('title', 'Payroll Deductions') @section('content')

Payroll Deductions

Add and manage deductions applied to staff pay

Export CSV
@include('partials.flashes')
Clear {{ $rows->total() }} deduction(s)
@php $sortLink = function (string $key) use ($sort, $dir, $q, $type, $appliesTo) { return route('payroll.deductions', ['q' => $q, 'type' => $type, 'applies_to' => $appliesTo, 'sort' => $key, 'dir' => $sort === $key && $dir === 'asc' ? 'desc' : 'asc']); }; @endphp @forelse ($rows as $row) @empty @endforelse
Name Type Amount Pre-Tax Applies To Status Actions
{{ $row->name }} {{ $row->type }} {{ number_format($row->amount, 2) }} {{ $row->is_pre_tax ? 'Pre-tax' : 'Post-tax' }} {{ $row->applies_to }} @if ($row->applies_to === 'Specific Employee') {{ $row->employee?->full_name ?? '—' }} @endif {{ $row->status }}
@csrf @method('DELETE')
No deductions match your filter.
@if ($rows->hasPages())
Showing {{ $rows->firstItem() }}–{{ $rows->lastItem() }} of {{ $rows->total() }}
@endif
Add new deduction
@include('payroll.partials.deduction-form', [ 'action' => route('payroll.deductions.store'), 'method' => 'POST', 'prefix' => 'deduction', 'row' => null, 'types' => $types, 'appliesOptions' => $appliesOptions, 'staff' => $staff, ])
@endsection