Merge branch 'recurring' of github.com:denisdulici/akaunting into recurring

This commit is contained in:
denisdulici
2018-04-26 14:28:12 +03:00
6 changed files with 96 additions and 12 deletions

View File

@ -110,6 +110,8 @@
{!! $errors->first('category_id', '<p class="help-block">:message</p>') !!}
</div>
{{ Form::selectGroup('recurring_id', trans('recurring.recurring'), 'refresh', $recurrings, 0, []) }}
{{ Form::textareaGroup('notes', trans_choice('general.notes', 2)) }}
{{ Form::fileGroup('attachment', trans('general.attachment')) }}
@ -210,6 +212,10 @@
placeholder: "{{ trans('general.form.select.field', ['field' => trans_choice('general.categories', 1)]) }}"
});
$("#recurring_id").select2({
placeholder: "{{ trans('general.form.select.field', ['field' => trans('recurring.recurring')]) }}"
});
$('#attachment').fancyfile({
text : '{{ trans('general.form.select.file') }}',
style : 'btn-default',