@extends('layouts.default') @section('title', 'New Transfer') @section('new_button') view_listTransfer List @endsection @section('content')
{!! Form::open(['url' => 'banking/transfers', 'role' => 'form' ,'id'=> 'form']) !!} {{ Form::hidden('from_account_chart_id',null,['id'=>'from_account_chart_id']) }} {{ Form::hidden('to_account_chart_id',null,['id'=>'to_account_chart_id']) }}
{{ Form::selectGroup('from_account_id', 'From Account', $accounts, null, ['data-live-search'=>'true','required'=>'required']) }}
{{ Form::selectGroup('to_account_id', 'To Account', $accounts, null, ['data-live-search'=>'true','required'=>'required']) }}
{{ Form::textGroup('amount', 'Amount', null, ['id'=>'amount','required' => 'required'])}}
{{ Form::textGroup('transferred_at', 'Transfer date', '', ['id' => 'transferred_at', 'class' => 'form-control', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'']) }}
{{ Form::selectGroup('payment_method', 'Payment Method', $payment_methods, config('accounts.payment_method'), []) }}
{{ Form::textGroup('reference', 'Reference Number', 'file-text-o', []) }}
{{ Form::textareaGroup('description', 'Description') }}
{!! Form::close() !!}
@include('includes.datepicker') @endsection