From a5218ffaea448787c2d9f629ec4042221574fdfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Thu, 24 Dec 2020 16:41:54 +0300 Subject: [PATCH] search-string config file update.. --- config/search-string.php | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/config/search-string.php b/config/search-string.php index e8721339e..55587007d 100644 --- a/config/search-string.php +++ b/config/search-string.php @@ -183,6 +183,58 @@ return [ ], ], + App\Models\Purchase\Bill::class => [ + 'columns' => [ + 'document_number' => ['searchable' => true], + 'order_number' => ['searchable' => true], + 'status', + 'issued_at' => ['date' => true], + 'due_at' => ['date' => true], + 'amount', + 'currency_code' => [ + 'route' => 'currencies.index' + ], + 'contact_id' => [ + 'route' => 'vendors.index' + ], + 'contact_name' => ['searchable' => true], + 'contact_email' => ['searchable' => true], + 'contact_tax_number', + 'contact_phone' => ['searchable' => true], + 'contact_address' => ['searchable' => true], + 'category_id' => [ + 'route' => 'categories.index' + ], + 'parent_id', + ], + ], + + App\Models\Sale\Invoice::class => [ + 'columns' => [ + 'document_number' => ['searchable' => true], + 'order_number' => ['searchable' => true], + 'status', + 'issued_at' => ['date' => true], + 'due_at' => ['date' => true], + 'amount', + 'currency_code' => [ + 'route' => 'currencies.index' + ], + 'contact_id' => [ + 'route' => 'customers.index' + ], + 'contact_name' => ['searchable' => true], + 'contact_email' => ['searchable' => true], + 'contact_tax_number', + 'contact_phone' => ['searchable' => true], + 'contact_address' => ['searchable' => true], + 'category_id' => [ + 'route' => 'categories.index' + ], + 'parent_id', + ], + ], + App\Models\Setting\Category::class => [ 'columns' => [ 'name' => ['searchable' => true],