Mandatory fields
{{Form::ffText('description')}}
@if($what == 'deposit' || $what == 'withdrawal')
{{Form::ffSelect('account_id',$accounts)}}
@endif
@if($what == 'withdrawal')
{{Form::ffText('expense_account')}}
@endif
@if($what == 'deposit')
{{Form::ffText('revenue_account')}}
@endif
@if($what == 'transfer')
{{Form::ffSelect('account_from_id',$accounts)}}
{{Form::ffSelect('account_to_id',$accounts)}}
@endif
{{Form::ffAmount('amount')}}
{{Form::ffDate('date', date('Y-m-d'))}}