@extends('layouts.app') @section('title', 'Salary List') @section('page-title', 'Salary') @section('content')
| # | Employee | Period | Basic | Bonus | Overtime | Deduction | Net Salary | Status | Payment Date | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $salaries->firstItem() + $loop->index }} |
{{ $salary->employee->name }}
{{ $salary->employee->designation }}
|
{{ $salary->month_year }} | ৳{{ number_format($salary->basic_salary, 2) }} | ৳{{ number_format($salary->bonus, 2) }} | ৳{{ number_format($salary->overtime, 2) }} | ৳{{ number_format($salary->deduction, 2) }} | ৳{{ number_format($salary->net_salary, 2) }} | {{ ucfirst($salary->status) }} | {{ $salary->payment_date ? $salary->payment_date->format('d M Y') : '—' }} | @if($salary->status === 'unpaid') @else Paid @endif |
No salary records found. Generate salary for your employees.