Home
Pembiayaan Online
@if(session()->has('message'))
{{ session('message') }}
@endif
@if(session()->has('error'))
{{ session('error') }}
@endif
@php
$isMissing = !empty($modal['missing']);
$isClosed = (int)($modal['ditutup'] ?? 0) === 1;
$pendingReq = $modal['pending_request'] ?? null;
if (is_object($pendingReq)) {
$pendingReq = json_decode(json_encode($pendingReq), true);
}
@endphp
@if($isClosed)
Modal online hari ini sudah ditutup (EOD).
@elseif($isMissing)
Belum ada had modal online hari ini.
@if($pendingReq)
Permohonan RM {{ number_format((float)($pendingReq['amaun'] ?? 0), 2) }}
daripada {{ $pendingReq['dimohon_oleh'] ?? '-' }} masih
PENDING .
@else
Mohon had di
Had Modal Online .
@endif
@elseif($pendingReq)
Permohonan tambah RM {{ number_format((float)($pendingReq['amaun'] ?? 0), 2) }}
daripada {{ $pendingReq['dimohon_oleh'] ?? '-' }} menunggu kelulusan Operasi.
Semak
@endif
Modal Online Hari Ini
@if(!empty($modal['missing']))
Belum ada had
@else
Baki RM {{ number_format((float)($modal['baki'] ?? 0), 2) }}
@endif
@if(!empty($modal['missing']))
Tunggu kelulusan Operasi
@else
Digunakan RM {{ number_format((float)($modal['digunakan'] ?? 0), 2) }}
/ Had RM {{ number_format((float)($modal['had'] ?? 0) + (float)($modal['tambah'] ?? 0), 2) }}
@endif
Queue PC
{{ count($lines) }} rekod
Jumlah RM {{ number_format((float)($queue['jumlah'] ?? 0), 2) }}
Slot Cadangan
{{ $slot['slot'] ?? '-' }}
{{ $slot['nota'] ?? '' }}
Batch No
Tarikh
Slot
Bil
Jumlah (RM)
Status
Dihantar Oleh
@forelse($batches as $batch)
{{ $batch['batch_no'] ?? '-' }}
{{ $batch['tarikh'] ?? '-' }}
{{ $batch['slot'] ?? '-' }}
{{ $batch['bilangan'] ?? 0 }}
{{ number_format((float)($batch['jumlah_keseluruhan'] ?? 0), 2) }}
{{ $batch['status'] ?? '-' }}
{{ $batch['pc_submitted_by'] ?? '-' }}
Lihat
@empty
Belum ada batch.
@endforelse