@extends('layouts.master') @push('styles') @endpush @section('content')

Data Pemohon


@if (session('success')) @endif
@forelse($data as $key => $user) @empty @endforelse
No Nama Pemohon Alamat No. Telp Status Aksi
{{ ($data->currentPage() - 1) * $data->perPage() + $key + 1 }} {{ $user->nama_pemohon }} {{ $user->alamat }} {{ $user->no_telp }} {{ $user->status->status }}
@if(auth() ->user()->role == 1) @endif @if(auth()->user()->to_role->l_pengurugan == 1) @endif @if(auth()->user()->to_role->e_pengurugan == 1) @endif @if(auth()->user()->to_role->c_pengurugan == 1 && ($user->id_status == 7 || $user->id_status == 8 || $user->id_status == 10)) @if($user->id_status == 10) @elseif($user->id_status == 8) @endif @endif @if ($user->id_status == 8) @endif @if (auth()->user()->to_role->p_kabbid_data == 1 && $user->id_status == 5) @endif @if (auth()->user()->to_role->p_sd_data == 1 && $user->id_status == 6) @endif @if(auth()->user()->to_role->h_pengurugan == 1)
@csrf @method('DELETE')
@endif
Tidak ada data
{{ $data->links() }}
@endsection @push('scripts')
@endpush