@extends('layouts.app') @section('title', 'Import Voter Data - MiMSMS Voter System') @section('content')

Import Voter Data

Upload Excel File

@csrf
@error('file') {{ $message }} @enderror

📋 Expected File Format:

Your Excel file should have the following columns:

  • district - District name (e.g., "Dhaka")
  • thana - Thana name (e.g., "Gulshan")
  • electoral_area - Electoral area name (e.g., "Area 1")
  • grameenphone - Number of Grameenphone users
  • robi - Number of Robi/Airtel users
  • banglalink - Number of Banglalink users

⚠️ Note: The system will automatically create districts, thanas, and electoral areas if they don't exist. Duplicate entries will be updated.

Sample File Format

Here's an example of how your Excel file should be formatted:

district thana electoral_area grameenphone robi banglalink
Dhaka Gulshan Area 1 5000 3000 2000
Dhaka Gulshan Area 2 4500 2800 1700
Dhaka Banani Area 1 6000 4000 3000

View import history →

@endsection