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']) }}