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

@lang('global.products-transfer.title')

{!! Form::open(['method' => 'POST', 'route' => ['admin.products_transfers.store'],'class'=>'formvalidation']) !!}
@lang('global.app_create')
{!! Form::label('ware_house_id_from', trans('custom.products-transfer.transfer_from').'*', ['class' => 'control-label']) !!} {!! Form::select('ware_house_id_from', $ware_houses, old('ware_house_id'), ['class' => 'form-control select2', 'data-live-search' => 'true','data-show-subtext' => 'true' ,'required' => '']) !!}

@if($errors->has('ware_house_id_from'))

{{ $errors->first('ware_house_id_from') }}

@endif
{!! Form::label('ware_house_id_to', trans('custom.products-transfer.transfer_to').'*', ['class' => 'control-label']) !!} {!! Form::select('ware_house_id_to', $ware_houses, old('ware_house_id'), ['class' => 'form-control select2', 'required' => '','data-live-search' => 'true','data-show-subtext' => 'true']) !!}

@if($errors->has('ware_house_id_to'))

{{ $errors->first('ware_house_id_to') }}

@endif
{!! Form::label('products', trans('global.products.title').'', ['class' => 'control-label']) !!} {!! Form::select('product[]', $products, old('product'), ['class' => 'form-control select2', 'multiple' => 'multiple', 'id' => 'selectall-product' ,'data-live-search' => 'true','data-show-subtext' => 'true']) !!}

@if($errors->has('product'))

{{ $errors->first('product') }}

@endif
{!! Form::submit(trans('global.app_save'), ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @stop @section('javascript') @parent @stop