@include('user.header') @include('sweetalert::alert')
User Details
  • Name: {{ Auth::user()->name }}
  • Email: {{ Auth::user()->email }}
  • Phone: {{ Auth::user()->phone ?? 'Not Provided' }}
  • Address: {{ Auth::user()->address ?? 'Not Provided' }}
  • Role: {{ ucfirst(Auth::user()->role) }}
  • Status: @if(Auth::user()->approved == 0) Pending @elseif(Auth::user()->approved == 1) Approved @else Disqualified @endif
@if(Auth::user()->approved == 0)
Notice: Your account is pending approval by an Admin. Once approved, you will be able to apply for loans.
@elseif(Auth::user()->approved == 1) @if(empty(Auth::user()->vac_number))
Notice: Your account is approved, but you don't have a bank account yet.

@else
Bank Account Details
  • Bank Name: {{ Auth::user()->bank_name ?? 'Not Provided' }}
  • Cooperative Account Number: {{ Auth::user()->approved_account_number }}
  • Vactual Account Number: {{ Auth::user()->vac_number }}
  • Account Type: {{ Auth::user()->account_type ?? 'Not Provided' }}
Loan & Contributions
  • My Contribution | Available Balance: ₦{{ number_format(Auth::user()->contribution_balance ?? 0, 2) }}
  • Loan | Balance to Pay: ₦{{ number_format(Auth::user()->loan_balance ?? 0, 2) }}
@endif @else
Notice: Your account has been disqualified. You cannot apply for loans.
@endif
{{-- --}}