Vendor user check fixed..

This commit is contained in:
Cüneyt Şentürk 2021-01-12 01:39:19 +03:00
parent 16e62719b5
commit afbced2e0c
2 changed files with 18 additions and 1 deletions

View File

@ -209,6 +209,23 @@ return [
],
],
App\Models\Purchase\Vendor::class => [
'columns' => [
'type',
'name' => ['searchable' => true],
'email' => ['searchable' => true],
'tax_number' => ['searchable' => true],
'phone' => ['searchable' => true],
'address' => ['searchable' => true],
'website' => ['searchable' => true],
'currency_code' => [
'route' => 'currencies.index'
],
'reference',
'enabled' => ['boolean' => true],
],
],
App\Models\Sale\Invoice::class => [
'columns' => [
'document_number' => ['searchable' => true],

View File

@ -21,7 +21,7 @@
'class' => 'mb-0'
]) !!}
<div class="align-items-center" v-if="!bulk_action.show">
<x-search-string model="App\Models\Common\Contact" />
<x-search-string model="App\Models\Purchase\Vendor" />
</div>
{{ Form::bulkActionRowGroup('general.vendors', $bulk_actions, ['group' => 'purchases', 'type' => 'vendors']) }}