@extends('layouts.sidebar') @section('title', 'Payroll') @section('content') @if (in_array('Payroll Checking', $privileges) || in_array('Payroll Approve', $privileges))
{{ $data->client->department_name }} Summary Payroll report with Batch ID: {{ $batch_id }}
Period Cover: {{ \Carbon\Carbon::parse($data->pay_period_start)->format('F j, Y') }} to {{ \Carbon\Carbon::parse($data->pay_period_end)->format('F j, Y') }}
ID | Employee Name | Rate | Earnings | Deductions | netpay | Action |
---|---|---|---|---|---|---|
Total | 0 | 0 | 0 | 0 |
SUMMARY
Trx Name | Earnings | Deduction |
---|---|---|
Basic Salary - {{ $days }} | ₱{{ number_format($basicSalaryTotal, 2) }} | |
{{ $name }} | ₱{{ number_format($amount, 2) }} | |
{{ $type }} | ₱{{ number_format($totalShare, 2) }} | |
{{ $group['description'] }} | @if ($group['earnings'] > 0) ₱{{ number_format($group['earnings'], 2) }} @php $totalEarnings += $group['earnings']; @endphp @endif | @if ($group['deductions'] > 0) ₱{{ number_format($group['deductions'], 2) }} @php $totalDeductions += $group['deductions']; @endphp @endif |
{{ optional(App\Models\TrxCode::find($loan->trxLoan->group_code_id))->description }} | ₱{{ number_format($loan->Amount, 2) }} @php $totalDeductions += $loan->Amount; @endphp | |
Total | ₱{{ number_format($totalEarnings, 2) }} | ₱{{ number_format($totalDeductions, 2) }} |
Prepared By: {{ $prepared->user->name }}
@endif @if ($approved && $approved->user)Approved By: {{ $approved->user->name }}
@endif