@extends('layouts.app') @section('content')

Import Existing Loans for Top-up

@if(session('success')) @endif @if(session('error')) @endif
Upload Excel File

Upload your Excel file containing existing loan data.

@csrf
@error('file')
{{ $message }}
@enderror
Supported formats: Excel (.xlsx, .xls) or CSV (.csv)
Use Default File

Import from the default file:
DED_URA SACCOS LTD.xlsx

@csrf
Expected Excel Format

Your Excel file should contain the following columns:

  • Check Number - Employee ID/Check Number
  • Name/Employee Name - Full name of the employee
  • Loan Number - Existing loan reference number
  • Principal/Amount - Original loan amount
  • Monthly Deduction - Monthly payment amount
  • Balance/Outstanding - Current outstanding balance
  • Account Number - Bank account (optional)
  • Mobile/Phone - Contact number (optional)
  • Email - Email address (optional)
  • Salary - Basic/Net salary (optional)
How It Works
  1. Prepare your Excel file with existing loan data
  2. Upload the file using the form above
  3. The system will import loans and mark them as "existing"
  4. These loans will be available for top-up when employees apply
  5. Duplicate loans (same loan number or check number + amount) will be skipped
@endsection