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

@lang('lang_v1.import_members')

@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, 'postImportMembers']), 'method' => 'post', 'enctype' => 'multipart/form-data' ]) !!}
{!! Form::label('name', __( 'product.file_to_import' ) . ':') !!} {!! Form::file('contacts_csv', ['accept'=> '.xls', 'required' => 'required']); !!}

@if(auth()->user()->can('shopify.view'))
{!! Form::select('sync_shopify', $shopify_access, null, [ 'class' => 'form-control hide', 'placeholder' => 'Choose Shopify Store', 'id' => 'sync_shopify' ]) !!}
@endif
{!! 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 First Name (@lang('lang_v1.required'))
2 Last Name (@lang('lang_v1.required'))
3 @lang('lang_v1.dob') (@lang('lang_v1.optional')) @lang('lang_v1.dob_ins') ({{\Carbon::now()->format('Y-m-d')}})
4 Email (@lang('lang_v1.required'))
5 Phone (@lang('lang_v1.optional'))
6 Workplace (@lang('lang_v1.optional'))
7 Job Speciality (@lang('lang_v1.optional'))
8 Hobbies Interests (@lang('lang_v1.optional'))
9 Tags Discount (@lang('lang_v1.required')) Ensure that tags are separated by commas.
10 Discount Starts (@lang('lang_v1.optional')) @lang('lang_v1.dob_ins') ({{\Carbon::now()->format('Y-m-d')}})
11 Discount Ends (@lang('lang_v1.optional')) @lang('lang_v1.dob_ins') ({{\Carbon::now()->format('Y-m-d')}})
12 Limit/Unlimited (@lang('lang_v1.optional')) Leave it empty if you want use unlimited
13 Discount Amount (@lang('lang_v1.required')) Put 10 for 10%
@endcomponent
@endsection @section('javascript') @endsection