@extends('layouts.default') @section('content') {{Form::open(['class' => 'form-horizontal','url' => route('recurring.store')])}}
Mandatory fields
@if($errors->has('name'))

{{$errors->first('name')}}

@endif
@if($errors->has('match'))

{{$errors->first('match')}}

@endif
{{ Form::label('amount_min', 'Minimum amount', ['class' => 'col-sm-4 control-label'])}}
{{Form::input('number','amount_min', Input::old('amount_min'), ['step' => 'any', 'class' => 'form-control'])}}
@if($errors->has('amount_min'))

{{$errors->first('amount_min')}}

@endif
{{ Form::label('amount_max', 'Maximum amount', ['class' => 'col-sm-4 control-label'])}}
{{Form::input('number','amount_max', Input::old('amount_max'), ['step' => 'any', 'class' => 'form-control'])}}
@if($errors->has('amount_max'))

{{$errors->first('amount_max')}}

@endif
{{ Form::label('date', 'Date', ['class' => 'col-sm-4 control-label'])}}
{{ Form::input('date','date', Input::old('date') ?: Carbon\Carbon::now()->addDay()->format('Y-m-d'), ['class' => 'form-control']) }} @if($errors->has('date'))

{{$errors->first('date')}}

@endif
{{Form::select('repeat_freq',$periods,Input::old('repeat_freq') ?: 'monthly',['class' => 'form-control'])}} @if($errors->has('repeat_freq'))

{{$errors->first('repeat_freq')}}

@endif

Optional fields
{{ Form::label('skip', 'Skip', ['class' => 'col-sm-4 control-label'])}}
{{Form::input('number','skip', Input::old('skip') ?: 0, ['class' => 'form-control'])}} @if($errors->has('skip'))

{{$errors->first('skip')}}

@else Make Firefly skip every n times. Fill in 2, and Firefly will match, skip, skip and match a transaction. @endif
Firefly will automatically match transactions.
This recurring transaction is actually active.
Options
{{Form::close()}} @stop @section('styles') {{HTML::style('assets/stylesheets/tagsinput/bootstrap-tagsinput.css')}} @stop @section('scripts') {{HTML::script('assets/javascript/tagsinput/bootstrap-tagsinput.min.js')}} @stop