@include('docs._printhead', ['title'=>'PAYSLIP','no'=>$l->run->payroll_no,'date'=>fdate($l->run->payroll_month,'F Y')])
<div class="doc-meta"><div><b>{{ $l->employee->full_name }}</b> ({{ $l->employee->employee_no }})<br>{{ $l->employee->designation->title ?? '' }} · {{ $l->employee->department->name ?? '' }}<br>SSNIT: {{ $l->employee->ssnit_no ?? '—' }}</div>
<div><b>Bank:</b> {{ $l->employee->bank_name ?? '—' }}<br><b>Account:</b> {{ $l->employee->account_no ?? '—' }}</div></div>
<div class="twrap"><table class="tbl"><thead><tr><th>Earnings</th><th class="r">Amount</th><th>Deductions</th><th class="r">Amount</th></tr></thead>
<tbody><tr><td>Basic salary</td><td class="r">{{ money($l->basic_salary) }}</td><td>SSNIT (5.5%)</td><td class="r">{{ money($l->ssnit_employee) }}</td></tr>
<tr><td>Allowances</td><td class="r">{{ money($l->allowances_total) }}</td><td>PAYE</td><td class="r">{{ money($l->paye) }}</td></tr>
<tr><td>Overtime</td><td class="r">{{ money($l->overtime_pay) }}</td><td>Advances</td><td class="r">{{ money($l->advances_deduction) }}</td></tr>
<tr><td></td><td></td><td>Other</td><td class="r">{{ money($l->other_deductions) }}</td></tr></tbody>
<tfoot><tr><td>GROSS {{ money($l->gross_pay) }}</td><td></td><td>TOTAL DEDUCTIONS {{ money($l->total_deductions) }}</td><td></td></tr></tfoot></table></div>
<div class="totals"><div class="gt"><span>NET PAY</span><b>{{ cmoney($l->net_pay) }}</b></div></div>
@include('docs._printfoot', [])
