2014-06-30 08:46:12 -05:00
|
|
|
@extends('layouts.default')
|
|
|
|
@section('content')
|
2014-07-26 01:05:02 -05:00
|
|
|
{{Form::open(['class' => 'form-horizontal','route' => 'accounts.store'])}}
|
2014-09-11 14:58:51 -05:00
|
|
|
{{Form::hidden('what',$what)}}
|
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-06-30 08:46:12 -05:00
|
|
|
</div>
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
<p>
|
|
|
|
<button type="submit" class="btn btn-lg btn-success">
|
|
|
|
<i class="fa fa-plus-circle"></i> Store new {{{$what}}} account
|
|
|
|
</button>
|
|
|
|
</p>
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
|
2014-07-26 01:05:02 -05:00
|
|
|
<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-06-30 08:46:12 -05:00
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
<div class="panel-body">
|
|
|
|
@if($what == 'asset')
|
|
|
|
{{Form::ffBalance('openingbalance')}}
|
|
|
|
{{Form::ffDate('openingbalancedate', date('Y-m-d'))}}
|
|
|
|
@endif
|
|
|
|
{{Form::ffCheckbox('active','1',true)}}
|
2014-06-30 08:46:12 -05:00
|
|
|
</div>
|
2014-07-26 01:05:02 -05:00
|
|
|
</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
|
2014-06-30 08:46:12 -05:00
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
<div class="panel-body">
|
|
|
|
{{Form::ffOptionsList('create','account')}}
|
2014-07-26 01:05:02 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-27 23:59:14 -05:00
|
|
|
|
2014-06-30 08:46:12 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-26 01:05:02 -05:00
|
|
|
|
|
|
|
{{Form::close()}}
|
2014-06-30 08:46:12 -05:00
|
|
|
@stop
|