search-string config file update..

This commit is contained in:
Cüneyt Şentürk 2020-12-24 16:41:54 +03:00
parent 968777396d
commit a5218ffaea

View File

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