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

Loan Lists

@if($errors->any())

{{ implode('', $errors->all(':message')) }}

@endif
@foreach ($data as $key => $item)
@php $i=1; @endphp @foreach ($data2 as $key => $datas) @if ($datas->loan_category_id == $item->id) @php $bgcolor = ''; if($i%4==0) { $bgcolor = 'bg-warning'; } elseif($i%2==0) { $bgcolor = 'bg-success'; } elseif($i%3==0) { $bgcolor = 'bg-info'; } else { $bgcolor = 'bg-primary'; } @endphp
  • Application Fee {{ $datas->application_fee }}
  • Loan Amount {{ $datas->loan_amount }}
  • ROI (Per Annum) {{ $datas->roi }}
  • Minimum Salary {{ $datas->min_salary }}
  • @if(Auth::user()->hasRole('suvidha_kendra'))
  • Commission {{ $datas->commission }}
  • @endif
@php $i++; @endphp @endif @endforeach
@endforeach
@endsection