@extends('layouts.app') @section('title', 'Payroll: ' . $period->name) @section('content')
| Employee | Basic | House Rent | Medical + Conv | Overtime (Hrs/Pay) | Tax & Deductions | Net Salary (BDT) | Status | Payslip |
|---|---|---|---|---|---|---|---|---|
|
{{ $item->employee->full_name ?? 'Staff' }}
{{ $item->employee->employee_code ?? '' }} • {{ $item->employee->department->name ?? '' }}
|
৳ {{ number_format($item->basic_salary, 2) }} | ৳ {{ number_format($item->house_rent, 2) }} | ৳ {{ number_format($item->medical + $item->conveyance, 2) }} | @if($item->overtime_hours > 0) {{ $item->overtime_hours }}h (৳{{ number_format($item->overtime_pay, 0) }}) @else 0h @endif | ৳ {{ number_format($item->deductions, 2) }} | ৳ {{ number_format($item->net_salary, 2) }} | @if($item->payment_status === 'paid') Paid @else Pending @endif | Payslip |