2015-05-01 23:17:17 +02:00
|
|
|
{% if type == 'create' %}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="{{ name }}_return_to_form" class="col-sm-4 control-label">
|
2015-05-14 10:26:15 +02:00
|
|
|
{{ trans('form.returnHere') }}
|
2015-05-01 23:17:17 +02:00
|
|
|
</label>
|
2015-06-27 08:06:24 +02:00
|
|
|
|
2015-05-01 23:17:17 +02:00
|
|
|
<div class="col-sm-8">
|
2018-01-03 19:17:30 +01:00
|
|
|
<div class="checkbox">
|
2015-05-01 23:17:17 +02:00
|
|
|
<label>
|
2015-06-22 18:50:54 +02:00
|
|
|
{{ Form.checkbox('create_another', '1', false, {'id': name ~ '_return_to_form'}) }}
|
2015-05-14 10:26:15 +02:00
|
|
|
{{ trans('form.returnHereExplanation') }}
|
|
|
|
|
2015-05-01 23:17:17 +02:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if type == 'update' %}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="{{ name }}_return_to_edit" class="col-sm-4 control-label">
|
2015-05-14 10:26:15 +02:00
|
|
|
{{ trans('form.returnHere') }}
|
2015-05-01 23:17:17 +02:00
|
|
|
</label>
|
2015-06-27 08:06:24 +02:00
|
|
|
|
2015-05-01 23:17:17 +02:00
|
|
|
<div class="col-sm-8">
|
2018-01-06 14:19:30 +01:00
|
|
|
<div class="checkbox"><label>
|
2017-09-30 17:50:22 +02:00
|
|
|
{{ Form.checkbox('return_to_edit', '1', old('return_to_edit') == '1', {'id': name ~ '_return_to_edit'}) }}
|
2015-05-14 10:26:15 +02:00
|
|
|
{{ trans('form.returnHereUpdateExplanation') }}
|
2015-05-01 23:17:17 +02:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-05 12:51:57 +02:00
|
|
|
{% endif %}
|
2016-04-29 17:29:13 +02:00
|
|
|
{% if type == 'create' and name == 'transaction' %}
|
2016-08-27 03:50:35 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="{{ name }}_split" class="col-sm-4 control-label">
|
|
|
|
{{ trans('form.split_journal') }}
|
|
|
|
</label>
|
2016-04-29 17:29:13 +02:00
|
|
|
|
2016-08-27 03:50:35 +02:00
|
|
|
<div class="col-sm-8">
|
2018-01-06 14:19:30 +01:00
|
|
|
<div class="checkbox"><label>
|
2017-09-30 17:50:22 +02:00
|
|
|
{{ Form.checkbox('split_journal', '1', old('split_journal') == '1', {'id': name ~ 'split'}) }}
|
2016-08-27 03:50:35 +02:00
|
|
|
{{ trans('form.split_journal_explanation') }}
|
|
|
|
</label>
|
|
|
|
</div>
|
2016-04-29 17:29:13 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-08-12 15:10:03 +02:00
|
|
|
{% endif %}
|