@extends('layouts.app') @section('title', __('lang_v1.import_coordinates')) @section('content')

@lang('lang_v1.import_coordinates')

@if (session('notification') || !empty($notification))
@if(!empty($notification['msg'])) {{$notification['msg']}} @elseif(session('notification.msg')) {{ session('notification.msg') }} @endif
@endif
@component('components.widget', ['class' => 'box-primary']) {!! Form::open(['url' => action([\App\Http\Controllers\ContactController::class, 'postImportCoordinates']), 'method' => 'post', 'enctype' => 'multipart/form-data' ]) !!}
{!! Form::label('name', __( 'product.file_to_import' ) . ':') !!} {!! Form::file('contacts_coordinates_csv', ['accept'=> '.xls', 'required' => 'required']); !!}

{!! Form::close() !!}

@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('lang_v1.instructions')]) @lang('lang_v1.instruction_line1')
@lang('lang_v1.instruction_line2')

@lang('lang_v1.col_no') @lang('lang_v1.col_name') @lang('lang_v1.instruction')
1 @lang('contact.contact_id') (@lang('lang_v1.required'))  
2 @lang('contact.coordinaites') (@lang('lang_v1.required'))  
@endcomponent
@endsection