2014-08-07 00:44:37 -05:00
|
|
|
@extends('layouts.default')
|
|
|
|
@section('content')
|
|
|
|
{{Form::open(['class' => 'form-horizontal','url' => route('recurring.store')])}}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6 col-md-12 col-sm-6">
|
2014-09-28 01:47:51 -05:00
|
|
|
<!-- panel for mandatory fields -->
|
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-exclamation-circle"></i> Mandatory fields
|
2014-08-07 00:44:37 -05:00
|
|
|
</div>
|
2014-09-28 01:47:51 -05:00
|
|
|
<div class="panel-body">
|
2014-10-05 12:29:25 -05:00
|
|
|
{{Form::ffText('name')}}
|
|
|
|
{{Form::ffTags('match')}}
|
|
|
|
{{Form::ffAmount('amount_min')}}
|
|
|
|
{{Form::ffAmount('amount_max')}}
|
|
|
|
{{Form::ffDate('date',Carbon\Carbon::now()->addDay()->format('Y-m-d'))}}
|
|
|
|
{{Form::ffSelect('repeat_freq',$periods,'monthly')}}
|
2014-08-07 00:44:37 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-28 01:47:51 -05:00
|
|
|
<p>
|
|
|
|
<button type="submit" class="btn btn-lg btn-success">
|
|
|
|
<i class="fa fa-plus-circle"></i> Store new recurring transaction
|
|
|
|
</button>
|
|
|
|
</p>
|
2014-08-07 00:44:37 -05:00
|
|
|
</div>
|
|
|
|
<div class="col-lg-6 col-md-12 col-sm-6">
|
2014-09-28 01:47:51 -05:00
|
|
|
<!-- panel for optional fields -->
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<i class="fa fa-smile-o"></i> Optional fields
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
2014-10-05 12:29:25 -05:00
|
|
|
{{Form::ffInteger('skip',0)}}
|
|
|
|
{{Form::ffCheckbox('automatch',1,true)}}
|
|
|
|
{{Form::ffCheckbox('active',1,true)}}
|
2014-08-07 00:44:37 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-09-28 01:47:51 -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-10-06 12:32:09 -05:00
|
|
|
{{Form::ffOptionsList('create','recurring transaction')}}
|
2014-08-07 00:44:37 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-28 01:47:51 -05:00
|
|
|
|
|
|
|
</div>
|
2014-08-07 00:44:37 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{Form::close()}}
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|
|
|
|
@section('styles')
|
2014-09-23 14:52:40 -05:00
|
|
|
{{HTML::style('assets/stylesheets/tagsinput/bootstrap-tagsinput.css')}}
|
2014-08-07 00:44:37 -05:00
|
|
|
@stop
|
|
|
|
@section('scripts')
|
2014-09-23 14:40:24 -05:00
|
|
|
{{HTML::script('assets/javascript/tagsinput/bootstrap-tagsinput.min.js')}}
|
|
|
|
|
2014-08-07 00:44:37 -05:00
|
|
|
@stop
|