Document recurring edit form issue solved.
This commit is contained in:
parent
ccca2f8013
commit
95031490f8
@ -4,9 +4,12 @@
|
|||||||
</x-slot>
|
</x-slot>
|
||||||
|
|
||||||
<x-slot name="body">
|
<x-slot name="body">
|
||||||
|
@if (empty($document))
|
||||||
|
<x-form.group.recurring :type="$type" @started="onChangeRecurringDate()" />
|
||||||
|
@else
|
||||||
<x-form.group.recurring
|
<x-form.group.recurring
|
||||||
:type="$type"
|
:type="$type"
|
||||||
@started="onChangeRecurringDate"
|
@started="onChangeRecurringDate()"
|
||||||
:frequency="$document ? $document->recurring->frequency : null"
|
:frequency="$document ? $document->recurring->frequency : null"
|
||||||
:custom-frequency="$document ? $document->recurring->custom_frequency : null"
|
:custom-frequency="$document ? $document->recurring->custom_frequency : null"
|
||||||
:limit="$document ? $document->recurring->limit_by : null"
|
:limit="$document ? $document->recurring->limit_by : null"
|
||||||
@ -14,5 +17,6 @@
|
|||||||
:limit-count="$document ? $document->recurring->limit_count : null"
|
:limit-count="$document ? $document->recurring->limit_count : null"
|
||||||
:limit-date-value="$document ? $document->recurring->limit_date : null"
|
:limit-date-value="$document ? $document->recurring->limit_date : null"
|
||||||
/>
|
/>
|
||||||
|
@endif
|
||||||
</x-slot>
|
</x-slot>
|
||||||
</x-form.section>
|
</x-form.section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user