@extends('layouts.app') @section('title', 'Pay Slip') @section('breadcrumb') @endsection @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('info'))
{{ session('info') }}
@endif
Filters
@if($selectedVoucher)
0 selected · {{ $rows->count() }} shown · {{ $totalCount }} total
@forelse($rows as $row) @php $emp = $row['employee']; @endphp @empty @endforelse
Period Employee ID Name Designation Department Project Branch Email Net Salary Actions
{{ $row['period_label'] }} {{ $emp->code ?? '—' }} {{ $emp->display_name ?: $emp->name }} {{ $emp->designation ?? '—' }} {{ $emp->department ?? '—' }} {{ $emp->project ?: 'HQ' }} {{ $emp->branch ?? '—' }} {{ $emp->email ?? '—' }} {{ \App\Helpers\NumberHelper::formatAmount((float) $row['net_salary'], auth()->user()->company_id) }} Print
No employees match the selected filters.
@csrf
@else

Approve a salary sheet voucher first to generate pay slips.

@endif @endsection @push('scripts') @endpush