@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ Form::open(['url' => route('import_export'), 'method'=>'post', 'file'=>true, 'name' => 'product_import', 'class' => 'form-horizontal', 'enctype' => 'multipart/form-data', 'id' => 'product_import']) }}
{!! Form::select('primary_vendor', !empty($primary_vendor) ? $primary_vendor : [], '', ['id'=>'primary_vendor','class' => 'form-control col-md-3 select2','required']) !!}
{!! Form::checkbox('track_in_inventory', '1', ['class' => 'form-control col-md-3'])!!}
{!! Form::file('product_csv', array('class' => 'form-control col-md-3','required')) !!} @if ($errors->has('product_csv')) @endif @if ($errors->has('success')) {{ $errors->first('success') }} @endif
{{ Form::select('establishments[]', $establishments, '',["multiple"=>"multiple","id"=>"establishments","class"=>"form-control select2",'required']) }} ({{__('lbl.product_copy_message')}})
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs(['js/lib/select2/dist/js/select2.full.min.js']) !!} @stop