@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; @endphp
Back to Payroll @if($payslip->status === 'draft')
@csrf
@elseif($payslip->status === 'finalized') @endif
@if($payslip->unpaid_leave_deduction_cents > 0) @endif @if($payslip->other_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) }}
Other Deductions−{{ \App\Support\Money::format($payslip->other_deduction_cents) }}
Net Pay{{ \App\Support\Money::format($payslip->net_cents) }}
Status: {{ ucfirst($payslip->status) }}