@extends('layouts.default')
@section('content')
{{Form::model($account, ['class' => 'form-horizontal','url' => route('accounts.update',$account->id)])}}
Mandatory fields
{{Form::ffText('name')}}
Optional fields
{{Form::ffCheckbox('active','1')}}
@if($account->accounttype->type == 'Default account' || $account->accounttype->type == 'Asset account')
{{Form::ffBalance('openingbalance')}}
{{Form::ffDate('openingbalancedate')}}
@endif
Options
{{Form::ffOptionsList('update','account')}}
{{Form::close()}}
@stop