@extends('layouts.app') @section('title', 'Payroll Periods') @section('content')
| Period | Status | Employees | Total Gross Pay | Total Net Pay | Processed By | Actions |
|---|---|---|---|---|---|---|
| {{ $period->period_start->format('M d, Y') }} - {{ $period->period_end->format('M d, Y') }} | {{ ucfirst($period->status) }} | {{ $period->getEmployeeCount() }} | LKR {{ number_format($period->getTotalGrossPay(), 2) }} | LKR {{ number_format($period->getTotalNetPay(), 2) }} | {{ $period->processedBy?->name ?? '-' }} | View @can('process payroll') @if($period->canBeProcessed()) @endif @endcan @can('approve payroll') @if($period->canBeApproved()) @endif @endcan @if($period->isApproved()) @endif @if($period->isDraft()) @endif |
| No payroll periods found | ||||||