@extends('layout.app') @section('content')
@if (session('showResults'))
Import Results
Successfully Imported: {{ session('successCount', 0) }} records
Errors Found: {{ count(session('importErrors', [])) }} issues
@if (!empty(session('importErrors')))
Error Details:
    @foreach (session('importErrors', []) as $error)
  • {{ $error }}
  • @endforeach

Please fix the errors in your Excel file and try importing again. Only the rows with errors were skipped.

@endif
@endif

Client Information Import

Instructions:
  1. Download the sample Excel file below
  2. Fill in the Excel with two columns:
    • Column 1 (username): The client's username
    • Column 2 (information): The value you want to update
  3. Select which field you want to update from the dropdown
  4. Upload your filled Excel file
  5. Click Submit to process the import
@csrf
@error('column_mapping') {{ $message }} @enderror
Accepted formats: .xlsx, .xls, .csv @error('excel_file') {{ $message }} @enderror
Help & Examples
Excel File Format:
username information
user001 Sample Data 1
user002 Sample Data 2
user003 Sample Data 3
Important Notes:
  • The username must exactly match the client's username in the system
  • Do not delete or modify the header row (username, information)
  • Make sure the data format matches the selected column type
  • For date fields, use format: YYYY-MM-DD
  • For numeric fields, use numbers only (no special characters)
@endsection @section('ajax') @endsection