2014-08-09 06:12:49 +02:00
|
|
|
@extends('layouts.default')
|
|
|
|
|
@section('content')
|
2014-11-13 16:13:32 +01:00
|
|
|
{{Form::model($recurringTransaction, ['class' => 'form-horizontal','url' => route('recurring.update', $recurringTransaction->id)])}}
|
2014-08-09 06:12:49 +02:00
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-lg-6 col-md-12 col-sm-6">
|
2014-09-28 08:47:51 +02:00
|
|
|
<!-- panel for mandatory fields -->
|
|
|
|
|
<div class="panel panel-primary">
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
<i class="fa fa-exclamation-circle"></i> Mandatory fields
|
|
|
|
|
</div>
|
|
|
|
|
<div class="panel-body">
|
2014-11-13 16:13:32 +01:00
|
|
|
{{Form::ffText('name')}}
|
|
|
|
|
{{Form::ffTags('match')}}
|
|
|
|
|
{{Form::ffAmount('amount_min')}}
|
|
|
|
|
{{Form::ffAmount('amount_max')}}
|
2014-10-06 19:32:09 +02:00
|
|
|
{{Form::ffDate('date',$recurringTransaction->date->format('Y-m-d'))}}
|
2014-11-13 16:13:32 +01:00
|
|
|
{{Form::ffSelect('repeat_freq',$periods)}}
|
2014-09-28 08:47:51 +02:00
|
|
|
</div>
|
2014-08-09 06:12:49 +02:00
|
|
|
</div>
|
|
|
|
|
|
2014-09-28 08:47:51 +02:00
|
|
|
<p>
|
|
|
|
|
<button type="submit" class="btn btn-lg btn-success">
|
2014-10-27 21:28:58 +01:00
|
|
|
<i class="fa fa-plus-circle"></i> Update recurring transaction
|
2014-09-28 08:47:51 +02:00
|
|
|
</button>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-lg-6 col-md-12 col-sm-6">
|
|
|
|
|
<!-- 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-11-13 16:13:32 +01:00
|
|
|
{{Form::ffInteger('skip')}}
|
|
|
|
|
{{Form::ffCheckbox('automatch',1)}}
|
|
|
|
|
{{Form::ffCheckbox('active',1)}}
|
2014-08-09 06:12:49 +02:00
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2014-09-28 08:47:51 +02:00
|
|
|
<div class="panel panel-default">
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
<i class="fa fa-bolt"></i> Options
|
|
|
|
|
</div>
|
|
|
|
|
<div class="panel-body">
|
2014-10-06 19:32:09 +02:00
|
|
|
{{Form::ffOptionsList('update','recurring transaction')}}
|
2014-09-28 08:47:51 +02:00
|
|
|
</div>
|
|
|
|
|
|
2014-10-06 19:32:09 +02:00
|
|
|
</div>
|
2014-08-09 06:12:49 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{Form::close()}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
@section('styles')
|
2014-09-23 21:52:40 +02:00
|
|
|
{{HTML::style('assets/stylesheets/tagsinput/bootstrap-tagsinput.css')}}
|
2014-08-09 06:12:49 +02:00
|
|
|
@stop
|
|
|
|
|
@section('scripts')
|
2014-09-23 21:40:24 +02:00
|
|
|
{{HTML::script('assets/javascript/tagsinput/bootstrap-tagsinput.min.js')}}
|
2014-08-09 06:12:49 +02:00
|
|
|
@stop
|