Document recurring form create/edit form

This commit is contained in:
Cüneyt Şentürk
2021-01-19 23:24:06 +03:00
parent cf27f79e31
commit 3edbc72061
2 changed files with 12 additions and 1 deletions

View File

@ -10,7 +10,11 @@
@stack('recurring_row_start')
@if (!$hideRecurring)
<div class="{{ $recurring_class }}">
{{ Form::recurring('create', null, 'col-md-12') }}
@if (!empty($document))
{{ Form::recurring('edit', $document, 'col-md-12') }}
@else
{{ Form::recurring('create', null, 'col-md-12') }}
@endif
</div>
@endif
@stack('recurring_row_end')