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

Import Draw Date

@if(Session::has('message'))
Success!
{{ Session::get('message') }} @php Session::forget('message'); @endphp
@endif @if(Session::has('msg'))
@foreach(session()->get('msg') as $key => $msg) @if($key != 'filename') {{ $msg }} @else
@csrf
@endif @endforeach
@php Session::forget('msg'); @endphp @endif

Note:

* Please ensure the file extension ".csv".

* Please ensure the import file contains header.

@csrf @if ($errors->has('import_csv'))
{{ $errors->first('import_csv') }}
@endif
@foreach($header as $key => $value) @endforeach @foreach($body as $value) @foreach($value as $v) @endforeach @endforeach
{{$value}}
{{$v}}
@endsection