@extends('layouts.app') @section('title', 'Payroll — ' . \Carbon\Carbon::createFromDate($batch->year, $batch->month, 1)->format('F Y') . ' (Finalized)') @section('breadcrumbs')
@endsection @section('content')| Employee | Department | Gross (OMR) | Deductions (OMR) | Net (OMR) | Payslip | ||
|---|---|---|---|---|---|---|---|
|
{{ $item->employee->full_name ?? '' }}
{{ $item->employee->employee_code ?? '' }}
|
{{ $item->employee->department->name ?? '—' }} | {{ number_format($item->gross_salary, 3) }} | {{ number_format($item->total_deductions, 3) }} | {{ number_format($item->net_salary, 3) }} | @if($item->payslip_path) PDF @else — @endif | @if($item->is_overridden) Overridden @endif | |
Earnings@foreach($item->earnings ?? [] as $code => $amount){{ $code }}{{ number_format($amount, 3) }}
@endforeach
Deductions@foreach($item->deductions ?? [] as $code => $amount) @if($amount > 0){{ $code }}{{ number_format($amount, 3) }}
@endif
@endforeach
Override: {{ $item->override_notes }}
@endif
|
|||||||