@extends('dlayout') @section('content')


@foreach($user as $user)
  • Profile
  • Names - {{ $user->names }}
  • telephone - {{ $user->telephone }}
  • Email - {{ $user->email }}
  • District - {{ $user->District }} , town - {{ $user->town }}
  • Date of Birth - {{ $user->dob }}
  • balance - {{ $user->balance }}
  • Names - {{ $user->names }}
  • loanlimit - {{ $user->loanlimit }}
  • Registration on - {{ $user->created_at }}
  • Account Status- {{ $user->totalbalance }}
  • Credit Score - 20%
@if($user->totalbalance =='Approved') @else @endif

@endforeach






Loans
@foreach($loans as $user) @if ($user->interest== "15%") @else @endif @else @else @endif @endif @endforeach
Loan_Id Loan Descri Loan Amount Interest Interest Amount Amount to be Paid Amount Paid Amount Remaining Loan Status Date Taken Date for payment
{{ $user->id }} {{ $user->names }} {{ ($user->amount_requested)/1.15 }} {{ $user->interest }} {{ ($user->amount_requested)-(($user->amount_requested)/1.15) }} {{ $user->totaltobepaid }} {{ $user->amount_paid }} {{ $user->amount_remaining }} {{ $user->loan_status }} {{ $user->date_taken }} {{ $user->dateforpayment }} @if ($user->loan_status== "pending")
{{ $user->id }} {{ $user->names }} {{ ($user->amount_requested) }} {{ $user->interest }} {{ ($user->totaltobepaid)-($user->amount_requested) }} {{ $user->totaltobepaid }} {{ $user->amount_paid }} {{ $user->amount_remaining }} {{ $user->loan_status }} {{ $user->date_taken }} {{ $user->dateforpayment }} @if ($user->loan_status== "pending")


Transactions
@foreach($transactions as $tran) @endforeach
system_id Transaction id User name telephone number names amount description transaction type date
{{ $tran->id }} {{ $tran->transaction_id }} {{ $tran->user_id }} {{ $tran->telephone_no }} {{ $tran->names }} {{ $tran->amount }} {{ $tran->description }} {{ $tran->transaction_type }} {{ $tran->created_at }}
@endsection