@extends('layouts.app') @section('title', 'Payroll Processing') @section('breadcrumbs')
@endsection @section('content')Monthly payroll management and payslip generation
No payroll batches yet
Initialize your first monthly payroll to get started.
| Period | Employees | Gross (OMR) | Deductions (OMR) | Net (OMR) | WPS | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::createFromDate($batch->year, $batch->month, 1)->format('F Y') }} | {{ $batch->employee_count }} | {{ number_format($batch->total_earnings, 3) }} | {{ number_format($batch->total_deductions, 3) }} | {{ number_format($batch->total_net, 3) }} | @if($batch->wps_generated) Generated @else Pending @endif | @if($batch->status === 'finalized') Finalized @elseif($batch->status === 'review') Review @else Draft @endif |
@if($batch->status === 'finalized')
View
@if(!$batch->wps_generated)
WPS
@endif
@else
{{ $batch->status === 'draft' ? 'Process' : 'Review' }}
@endif
|