2014-07-26 01:05:02 -05:00
|
|
|
@extends('layouts.default')
|
|
|
|
@section('content')
|
2014-08-02 00:49:48 -05:00
|
|
|
{{Form::model($account, ['class' => 'form-horizontal','url' => route('accounts.update',$account->id)])}}
|
2014-07-26 01:05:02 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
2014-10-27 23:59:14 -05:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa {{{$subTitleIcon}}}"></i> Mandatory fields
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
{{Form::ffText('name')}}
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
<p>
|
|
|
|
<button type="submit" class="btn btn-lg btn-success">
|
|
|
|
Update account
|
|
|
|
</button>
|
|
|
|
</p>
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
2014-10-27 23:59:14 -05:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-smile-o"></i> Optional fields
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
<div class="panel-body">
|
|
|
|
{{Form::ffCheckbox('active','1')}}
|
|
|
|
@if($account->accounttype->type == 'Default account' || $account->accounttype->type == 'Asset account')
|
|
|
|
{{Form::ffBalance('openingbalance')}}
|
|
|
|
{{Form::ffDate('openingbalancedate')}}
|
2014-07-26 01:05:02 -05:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-10-27 23:59:14 -05:00
|
|
|
<!-- panel for options -->
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-bolt"></i> Options
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2014-11-05 12:57:56 -06:00
|
|
|
{{Form::ffOptionsList('update','account')}}
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{Form::close()}}
|
|
|
|
@stop
|