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