36 lines
2.0 KiB
PHP
Raw Normal View History

2020-12-24 01:28:38 +03:00
<div class="accordion">
2020-12-25 01:21:46 +03:00
<div class="card border-1 box-shadow-none">
<div class="card-header background-none collapsed" id="accordion-recurring-and-more-header" data-toggle="collapse" data-target="#accordion-recurring-and-more-body" aria-expanded="false" aria-controls="accordion-recurring-and-more-body">
2020-12-24 01:28:38 +03:00
<h4 class="mb-0">{{ trans('general.recurring_and_more') }}</h4>
</div>
<div id="accordion-recurring-and-more-body" class="collapse hide" aria-labelledby="accordion-recurring-and-more-header">
<div class="card-body">
<div class="row">
2021-01-12 13:23:12 +03:00
@stack('recurring_row_start')
@if (!$hideRecurring)
<div class="{{ $recurring_class }}">
{{ Form::recurring('create', null, 'col-md-12') }}
2021-01-12 13:23:12 +03:00
</div>
@endif
@stack('recurring_row_end')
2020-12-24 01:28:38 +03:00
2021-01-12 13:23:12 +03:00
@stack('more_row_start')
@if (!$hideCategory || !$hideAttachment)
2021-01-12 13:23:12 +03:00
<div class="{{ $more_class }}">
2020-12-24 01:28:38 +03:00
@if (!$hideCategory)
2021-01-13 00:09:29 +03:00
{{ Form::selectRemoteAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $document->category_id ?? setting('default.' . $categoryType . '_category'), ['required' => 'required', 'path' => route('modals.categories.create') . '?type=' . $categoryType, 'remote_action' => route('categories.index'). '?search=type:' . $categoryType], $more_form_class) }}
2020-12-24 01:28:38 +03:00
@endif
@if (!$hideAttachment)
2021-01-12 13:39:14 +03:00
{{ Form::fileGroup('attachment', trans('general.attachment'), '', ['dropzone-class' => 'form-file'], null, $more_form_class) }}
2020-12-24 01:28:38 +03:00
@endif
</div>
2021-01-12 13:23:12 +03:00
@endif
@stack('more_row_end')
2020-12-24 01:28:38 +03:00
</div>
</div>
</div>
</div>
</div>