@extends('layouts.app') @section('title', 'Locum Payroll') @section('content') @include('locum.partials.payroll-tabs', ['active' => 'payroll']) {{-- Unpaid Approved Shifts --}}
Select the shifts you want to include in a payroll run, then click "Create Payroll Run".
| Run | Period | Locums | Shifts | Gross Pay | WHT (5%) | Net Pay | Status | Created | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ $b->batch_label }} | {{ $b->period_from?->format('d M') }}{{ $b->period_to ? ' – '.$b->period_to->format('d M Y') : '' }} | {{ $b->items->count() }} | {{ $b->items->sum('total_shifts') }} | KES {{ number_format($b->items->sum('gross_pay')) }} | KES {{ number_format($b->items->sum('wht_amount')) }} | KES {{ number_format($b->items->sum('net_pay')) }} | {{ ucfirst($b->status) }} | {{ $b->created_at->format('d M Y') }} |
View
@if($b->status === 'draft')
@endif
|
| No payroll runs yet. | |||||||||