@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $navGroups = [ ['label' => 'MY PANEL', 'items' => [ ['label' => 'Dashboard', 'icon' => 'home', 'url' => route('tenant.staff.dashboard'), 'active' => false], ['label' => 'My Payslips', 'icon' => 'wallet', 'url' => route('tenant.staff.payslips'), 'active' => true], ['label' => 'My Leave Requests', 'icon' => 'clock', 'url' => route('tenant.staff.leave-requests.index'), 'active' => false], ['label' => 'Notices', 'icon' => 'document', 'url' => route('tenant.staff.notices.index'), 'active' => false], ]], ]; @endphp Back to Payslips
@if($payslip->unpaid_leave_deduction_cents > 0) @endif
Basic{{ \App\Support\Money::format($payslip->salaryStructure->basic_cents) }}
Gross{{ \App\Support\Money::format($payslip->gross_cents) }}
Tax−{{ \App\Support\Money::format($payslip->tax_cents) }}
Provident Fund−{{ \App\Support\Money::format($payslip->pf_cents) }}
Unpaid Leave ({{ $payslip->unpaid_leave_days }} days)−{{ \App\Support\Money::format($payslip->unpaid_leave_deduction_cents) }}
Net Pay{{ \App\Support\Money::format($payslip->net_cents) }}
{{ ucfirst($payslip->status) }}