@extends('dashboard.layouts.app') @section('content') @include('components.alert')
| Staff | Pay Period | Pay Date | Gross Salary | Net Salary | Bonuses | Penalties | Notes | Show Before | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $staffName ?: '—' }} | @if(!empty($row->run_date)) {{ \Carbon\Carbon::createFromDate($row->run_date)->firstOfMonth()->format('d-m-y') }} - {{ \Carbon\Carbon::createFromDate($row->run_date)->endOfMonth()->format('d-m-y') }} @else — @endif | @if(!empty($row->run_date)) {{ \Illuminate\Support\Carbon::parse($row->run_date)->format('Y-m-d') }} @else — @endif | {{ number_format($row->gross_salary, 2) }} | {{ number_format($row->net_salary, 2) }} | {{ number_format($row->bonuses, 2) }} | {{ number_format($row->penalties, 2) }} | {{ $row->notes }} |
@if($row->in_compensation_log)
Viewed @elseNot Viewed @endif |
@if(!empty($row->user_id)) @if(!$canCheckRun || !$runExistsForSelected) Add Compensations @else — @endif @else — @endif |
| No payroll staff data found. | |||||||||
| Total | {{ number_format($totalGross, 2) }} | {{ number_format($totalNet, 2) }} | |||||||