@extends('adminlayout.admin') @section('content')

{{$pageTitle}} Loan Request List


Date Filter
@if(isset($from)) @else @endif @if ($errors->has('search')){{ $errors->first('search') }}@endif
@if(isset($to)) @else @endif @if ($errors->has('search')){{ $errors->first('search') }}@endif
@if(Auth::user()->hasRole('super_admin', 'admin')) @endif @php $i=1; @endphp @foreach($data as $data) @if(Auth::user()->hasRole('super_admin')) @endif @endforeach
S.no user_id loan_id c_name mobile email dob pan pincode state city address full_address loan_purpose loan_amount lone_type salary documents Cibil Loan Statement review Approval Amount remark status DateAction
{{$i++}} {{ $data->user->user_id ?? $data->user_id }}
[{{ $data->user->name ?? '' }}]
{{ $data->loan->company_name ?? $data->loan_id }} {{ $data->c_name }} {{ $data->mobile }} {{ $data->email }} {{ $data->dob }} {{ $data->pan }} {{ $data->pincode }} {{ $data->state }} {{ $data->city }} {{ $data->address }} {{ $data->full_address }} {{ $data->loan_purpose }} {{ $data->loan_amount }} {{ $data->lone_type }} {{ $data->salary }} View @if($data->cibil) View @endif @if($data->loan_statement) View @endif {{ $data->review }} {{ $data->amount }} {{ $data->remark }} @if($data->status == '0') @else {{$status}} @endif @if($data->status ==3 and Auth::user()->hasRole('vendor')) Loan Statement @endif Approval @if(Auth::user()->hasRole('super_admin', 'admin') && $data->status=='0') @endif
@endsection