@extends('layouts.vertical', ['page_title' => $title ?? 'Import Titans HCP Data']) @section('css') @endsection @section('content')
@if (session()->has('message'))
{!! nl2br(e(session()->get('message'))) !!}
@endif @if (session()->has('error'))
{{ session()->get('error') }}
@endif @if ($errors->any())
Please fix the following:
@endif
@csrf

{{ $title }}

Back to List
Import Instructions
  • Upload an Excel (.xlsx, .xls) or CSV (.csv) file (max 10MB).
  • Select the report month for this upload. Rows are upserted by PCODE + LEGACY_CODE + month.
  • Re-uploading the same month replaces existing rows for that month; other months are unchanged.
  • Expected columns include S.No, ZBM, RBM, AREA, HQ, TM Name, HCP NAME, doctor_id, hierarchy_id, user_id, LEGACY_CODE, PCODE, AgreementNo, Status, EAS ID, Activity Report Status, Payment Status, Closure Done, Closure Approved, and a column containing TM Visit.
@error('import_file') {{ $message }} @enderror
@endsection @section('script') @endsection