{!! Form::open([ 'url' => action('AccountController@postFundTransfer'), 'method' => 'post', 'id' => 'fund_transfer_form', 'files' => true, ]) !!}

@lang('account.fund_transfer')

{!! Form::label('from_account', __('lang_v1.transfer_from') . ':*') !!} {{-- {!! Form::select('from_account', $to_accounts, $from_account->id, ['class' => 'form-control', 'required' ]); !!} --}}
{!! Form::label('to_account', __('account.transfer_to') . ':*') !!} {{-- {!! Form::select('to_account', $to_accounts, null, ['class' => 'form-control', 'required']) !!} --}}
{!! Form::label('amount', __('sale.amount') . ':*') !!} {!! Form::text('amount', 0, [ 'class' => 'form-control input_number', 'required', 'placeholder' => __('sale.amount'), ]) !!}
{!! Form::label('od_datetimepicker', __('messages.date') . ':*') !!}
{!! Form::text('operation_date', null, [ 'class' => 'form-control', 'required', 'placeholder' => __('messages.date'), 'id' => 'od_datetimepicker', ]) !!}
{!! Form::label('note', __('brand.note')) !!} {!! Form::textarea('note', null, ['class' => 'form-control', 'placeholder' => __('brand.note'), 'rows' => 4]) !!}
{!! Form::label('document', __('purchase.attach_document') . ':') !!} {!! Form::file('document', [ 'id' => 'upload_document', 'accept' => implode(',', array_keys(config('constants.document_upload_mimes_types'))), ]) !!}

@lang('purchase.max_file_size', ['size' => config('constants.document_size_limit') / 1000000]) @includeIf('components.document_help_text')

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