@extends('user::layouts.master') @section('content')

Manage Suppliers

@include('layouts.flash.alert')
{{ Form::open(['route' => ['suppliers.do.import'], 'method' => 'post', 'enctype'=> 'multipart/form-data']) }}
{{ Form::label('category_id', 'Category') }}* {{ Form::select('category_id', $categories, old('category_id'), [ 'class' => "form-control select2-input category_id", 'id' => "category_id", 'data-live-search'=>'true' ]) }} @if($errors->has('category_id')) {{ $errors->first('category_id') }} @endif
{{ Form::label('company_id', 'Company') }}* {{ Form::select('company_id', $companies, old('company_id'), [ 'class' => "form-control select2-input company_id", 'id' => "company_id", 'data-live-search'=>'true' ]) }} @if($errors->has('company_id')) {{ $errors->first('company_id') }} @endif
{{ Form::label('file', 'File') }} {{ Form::file('file', [ 'class' => "form-control file", 'id' => "file", ]) }} @if($errors->has('file')) {{ $errors->first('file') }} @endif
{{ Form::close() }}
@stop