@include('components.theme.pages.header')

{{ $data['subtitle'] }}

@if(!empty($data['button'])) @endif
@if(session()->has('success'))
{{ session()->get('success') }}
@else @if(session()->has('error'))
{{ session()->get('error') }}
@endif @endif
@if (Auth::user()->level == 1) @endif @php $no = 1; @endphp @foreach(\App\Models\PengajuanNasabah::all() as $data) @php $nasabah = \App\Models\Alternatif::where('id_alternatif', $data->id_nasabah)->first(); $uplink = \App\Models\User::where('id', $data->uplink)->first(); @endphp @if (Auth::user()->level == 1) @endif @endforeach
ID Nama Nasabah Uplink AO Skor Preferensi Status Pengajuan Tanggal DitambahkanAksi
{{ $no++ }} {{ $nasabah->nama_alternatif }} {{ $uplink->name }} {{ round($data->skor, 5)}} @php if ($data->status == 1) { echo 'Diterima'; } elseif($data->status == 0) { echo 'Menunggu Respon'; } else { echo 'Tidak diterima'; } @endphp {{ \Carbon\Carbon::parse($data->created_at)->format('d F Y, H:i:s') }} @if($data->status == 0) @endif
@push('scripts') @endpush @include('components.theme.pages.footer')