@extends('layouts.default') @section('content') {!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $account) !!} {!! Form::model($account, ['class' => 'form-horizontal','id' => 'update','url' => route('accounts.update',$account->id)]) !!}
Mandatory fields
{!! ExpandedForm::text('name') !!}

Optional fields
@if($account->accounttype->type == 'Default account' || $account->accounttype->type == 'Asset account') {!! ExpandedForm::balance('openingBalance',null, ['currency' => $openingBalance ? $openingBalance->transactionCurrency : null]) !!} {!! ExpandedForm::date('openingBalanceDate') !!} {!! ExpandedForm::select('accountRole',Config::get('firefly.accountRoles')) !!} {!! Form::hidden('id',$account->id) !!} @endif {!! ExpandedForm::checkbox('active','1') !!}
Options
{!! ExpandedForm::optionsList('update','account') !!}
{!! Form::close() !!} @stop