Fixed transaction missing type issue and fixed recurring vue exception..
This commit is contained in:
@ -54,7 +54,7 @@
|
||||
<x-slot name="body">
|
||||
<x-form.group.category type="{{ $real_type }}" :selected="setting('default.' . $real_type . '_category')" />
|
||||
|
||||
<x-form.group.contact type="{{ config('type.transaction.' . $real_type . '.contact_type') }}" not-required />
|
||||
<x-form.group.contact :type="$contact_type" not-required />
|
||||
</x-slot>
|
||||
</x-form.section>
|
||||
|
||||
|
@ -47,7 +47,7 @@
|
||||
<x-slot name="body">
|
||||
<x-form.group.category type="{{ $real_type }}" />
|
||||
|
||||
<x-form.group.contact type="{{ config('type.transaction.' . $real_type . '.contact_type') }}" not-required />
|
||||
<x-form.group.contact :type="$contact_type" not-required />
|
||||
</x-slot>
|
||||
</x-form.section>
|
||||
|
||||
|
@ -40,9 +40,9 @@
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="body">
|
||||
<x-form.group.category type="{{ $real_type }}" :selected="setting('default.' . $real_type . '_category')" />
|
||||
<x-form.group.category :type="$real_type" :selected="setting('default.' . $real_type . '_category')" />
|
||||
|
||||
<x-form.group.contact type="{{ config('type.transaction.' . $real_type . '.contact_type') }}" not-required />
|
||||
<x-form.group.contact :type="$contact_type" not-required />
|
||||
</x-slot>
|
||||
</x-form.section>
|
||||
|
||||
|
@ -56,9 +56,9 @@
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="body">
|
||||
<x-form.group.category type="{{ $type }}" />
|
||||
<x-form.group.category :type="$type" />
|
||||
|
||||
<x-form.group.contact type="{{ config('type.transaction.' . $type . '.contact_type') }}" not-required />
|
||||
<x-form.group.contact :type="$contact_type" not-required />
|
||||
|
||||
@if ($transaction->document)
|
||||
<x-form.group.text name="document" label="{{ trans_choice('general.' . Str::plural(config('type.transaction.' . $type . '.document_type')), 1) }}" not-required disabled value="{{ $transaction->document->document_number }}" />
|
||||
|
Reference in New Issue
Block a user