@extends('layouts.school') @section('title', 'Payroll') @section('header', 'Payroll Runs') @section('content')
@php $statusColors = [ 'draft' => 'badge-gray', 'approved' => 'badge-blue', 'paid' => 'badge-green', 'cancelled' => 'badge-red', ]; @endphp| Period | Staff | Gross | Deductions | Net | Status | |
|---|---|---|---|---|---|---|
| {{ $run->period_start->format('M j') }} – {{ $run->period_end->format('M j, Y') }} | {{ $run->items_count }} | ₦{{ number_format($run->total_gross, 2) }} | ₦{{ number_format($run->total_deductions, 2) }} | ₦{{ number_format($run->total_net, 2) }} | {{ ucfirst($run->status) }} | View |
| No payroll runs yet. Create your first run. | ||||||