From afbced2e0c95dc0648c3702604ae75c61e608f4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Tue, 12 Jan 2021 01:39:19 +0300 Subject: [PATCH] Vendor user check fixed.. --- config/search-string.php | 17 +++++++++++++++++ .../views/purchases/vendors/index.blade.php | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/config/search-string.php b/config/search-string.php index 004ae8fd4..eb445f5b3 100644 --- a/config/search-string.php +++ b/config/search-string.php @@ -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], diff --git a/resources/views/purchases/vendors/index.blade.php b/resources/views/purchases/vendors/index.blade.php index 55edcfa57..c1c57206c 100644 --- a/resources/views/purchases/vendors/index.blade.php +++ b/resources/views/purchases/vendors/index.blade.php @@ -21,7 +21,7 @@ 'class' => 'mb-0' ]) !!}
- +
{{ Form::bulkActionRowGroup('general.vendors', $bulk_actions, ['group' => 'purchases', 'type' => 'vendors']) }}