mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-09 23:53:12 -06:00
61 lines
2.3 KiB
PHP
61 lines
2.3 KiB
PHP
@extends('layouts.default')
|
|
@section('content')
|
|
{{Form::open(['class' => 'form-horizontal','url' => route('recurring.update', $recurringTransaction->id)])}}
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6 col-md-12 col-sm-6">
|
|
<!-- 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">
|
|
{{Form::ffText('name',$recurringTransaction->name)}}
|
|
{{Form::ffTags('match',join(',',explode(' ',$recurringTransaction->match)))}}
|
|
{{Form::ffAmount('amount_min',$recurringTransaction->amount_min)}}
|
|
{{Form::ffAmount('amount_max',$recurringTransaction->amount_max)}}
|
|
{{Form::ffDate('date',$recurringTransaction->date->format('Y-m-d'))}}
|
|
{{Form::ffSelect('repeat_freq',$periods,$recurringTransaction->repeat_freq)}}
|
|
</div>
|
|
</div>
|
|
|
|
<p>
|
|
<button type="submit" class="btn btn-lg btn-success">
|
|
<i class="fa fa-plus-circle"></i> Update recurring transaction
|
|
</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">
|
|
{{Form::ffInteger('skip',$recurringTransaction->skip)}}
|
|
{{Form::ffCheckbox('automatch',1,$recurringTransaction->automatch)}}
|
|
{{Form::ffCheckbox('active',1,$recurringTransaction->active)}}
|
|
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<i class="fa fa-bolt"></i> Options
|
|
</div>
|
|
<div class="panel-body">
|
|
{{Form::ffOptionsList('update','recurring transaction')}}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{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 |