@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
| Month |
Processing Date |
Employees Paid |
Total Amount |
Status |
Actions |
@forelse($payrollBatches as $batch)
|
{{ \Carbon\Carbon::createFromFormat('Y-m', $batch->month)->format('F Y') }}
|
{{ \Carbon\Carbon::parse($batch->processing_date)->format('d-m-Y') }} |
{{ $batch->employee_count }} |
{{ number_format($batch->total_amount, 2) }} |
{{ $batch->status }}
|
|
@empty
| No payroll batches found. Create one now |
@endforelse