{{ __('RMA Data') }}

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@if ($search || $bulan || $tahun || $status !== null) Clear @endif
@forelse ($records as $row) @empty @endforelse
Nomor BULAN TAHUN MD ID Customer FF ID Pegawai No Faktur Outlet Produk Sales Cicilan Status Actions
{{ $row->Nomor }} {{ $row->bulan ?? '-' }} {{ $row->tahun ?? '-' }} {{ $row->MD_ID ?? '-' }} {{ $row->NAMA_CUST ?? '-' }} {{ $row->FF_ID ?? '-' }} {{ $row->NM_PEGAWAI ?? '-' }} {{ $row->no_faktur ?? '-' }} {{ $row->Nama_Outlet_Uni ?? '-' }} {{ $row->Nama_Prod ?? '-' }} {{ isset($row->T_SALES_UPDATE) ? number_format($row->T_SALES_UPDATE, 0, ',', '.') : '-' }} {{ isset($row->CICILAN_UPDATE) ? number_format($row->CICILAN_UPDATE, 0, ',', '.') : '-' }} @php $statusLabel = match ((int) ($row->Status ?? 0)) { 1 => 'Verified by Marketing', 2 => 'Transfer by Finance', default => 'Unverified', }; $statusClass = match ((int) ($row->Status ?? 0)) { 1 => 'bg-blue-50 text-blue-700 ring-1 ring-blue-200', 2 => 'bg-green-50 text-green-700 ring-1 ring-green-200', default => 'bg-red-50 text-red-700 ring-1 ring-red-200', }; @endphp {{ $statusLabel }} @php $groupKey = $row->MD_ID . '|' . $row->FF_ID . '|' . $row->bulan . '|' . $row->tahun; $sumForGroup = $groupSums[$groupKey] ?? 0; @endphp @if ((int) $row->Status !== 2)
@csrf
@else @endif

No data found.

@php $lastPage = max(1, (int) ceil($total / $perPage)); @endphp
Showing {{ count($records) }} of {{ $total }} records (Page {{ $page }} of {{ $lastPage }})
@if ($page > 1) Prev @else Prev @endif @if ($page < $lastPage) Next @else Next @endif