{{ __('form.Fee-Employee') }}

{{-- ===================== MOBILE SEARCH & FILTER ===================== --}}
{{-- Filter date --}}
{{-- Status filter buttons --}}
{{-- Per page select --}}
{{-- Result count --}}
{{-- ===================== DESKTOP TABLE ===================== --}} {{-- ===================== MOBILE CARD LIST ===================== --}}
@forelse ($data as $employeefee) @php $employeeName = $employeefee->employee->fullname ?? '-'; $foto = $employeefee->employee->foto ?? 'https://api.dicebear.com/9.x/initials/svg?seed=' . urlencode($employeeName ?: 'User'); $statusLabel = $employeefee->status === 'P' ? 'pending' : ($employeefee->status === 'A' ? 'approved' : 'rejected'); @endphp
{{-- Header --}}
avatar
{{ $employeeName }}

{{ $employeefee->code }}

{{-- Info icon → ke detail --}} {{-- Action buttons --}} @if ($employeefee->status === 'P') @endif
{{-- Detail info --}}
Tanggal : {{ $employeefee->effective_date }} Fee Retail : {{ $employeefee->retail }} Fee Corporate : {{ $employeefee->corporate }} Status :
@empty

Tidak ada data Fee Employee

@endforelse {{-- Pagination controls --}}