@extends('layouts.app') @section('title', $run->run_number) @section('content')
Payroll run
{{ $run->period->period_name }} · {{ $run->branch?->name ?? 'All branches' }} · {{ $run->group?->name ?? 'All payroll groups' }}
Gross payroll
AED {{ number_format((float)$run->gross_total,2) }}
Deductions
AED {{ number_format((float)$run->deduction_total,2) }}
Net payable
AED {{ number_format((float)$run->net_total,2) }}
Every amount is stored as a period snapshot; approved payroll cannot be casually edited.
| Employee | Basic | Allowances | OT | Gross | Absence | Unpaid leave | Loan | Other deduction | Net | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->employee->full_name }}{{ $item->employee->employee_code }} · {{ $item->working_days }} working / {{ $item->present_days }} present | AED {{ number_format((float)$item->basic_salary,2) }} | AED {{ number_format((float)$item->housing_allowance+(float)$item->transport_allowance+(float)$item->other_earnings,2) }} | AED {{ number_format((float)$item->overtime_amount,2) }}{{ $item->overtime_minutes }} min | AED {{ number_format((float)$item->gross_salary,2) }} | AED {{ number_format((float)$item->absence_deduction,2) }} | AED {{ number_format((float)$item->unpaid_leave_deduction,2) }} | AED {{ number_format((float)$item->loan_deduction,2) }} | AED {{ number_format((float)$item->other_deductions,2) }} | AED {{ number_format((float)$item->net_salary,2) }} | Payslip@if(in_array($run->status,['draft','calculated'])) @if(auth()->check() && auth()->user()->hasPermission('payroll.process'))@endif @endif |
Prepares a modular salary file only. It does not claim direct bank or government submission.