Fixed transaction missing type issue and fixed recurring vue exception..

This commit is contained in:
Cüneyt Şentürk
2023-06-16 14:18:52 +03:00
parent a411107a5f
commit 1d12f1115a
10 changed files with 40 additions and 14 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 }}" />