Merge pull request #1940 from SevanNerse/search-string
id column is added to config of search strings
This commit is contained in:
commit
6a392fd9d2
@ -40,6 +40,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Auth\Permission::class => [
|
App\Models\Auth\Permission::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'display_name' => ['searchable' => true],
|
'display_name' => ['searchable' => true],
|
||||||
'description' => ['searchable' => true],
|
'description' => ['searchable' => true],
|
||||||
@ -48,6 +49,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Auth\Role::class => [
|
App\Models\Auth\Role::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'display_name' => ['searchable' => true],
|
'display_name' => ['searchable' => true],
|
||||||
'description' => ['searchable' => true],
|
'description' => ['searchable' => true],
|
||||||
@ -56,6 +58,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Auth\User::class => [
|
App\Models\Auth\User::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'email' => ['searchable' => true],
|
'email' => ['searchable' => true],
|
||||||
'enabled' => ['boolean' => true],
|
'enabled' => ['boolean' => true],
|
||||||
@ -79,6 +82,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Banking\Reconciliation::class => [
|
App\Models\Banking\Reconciliation::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'account' => ['relationship' => true],
|
'account' => ['relationship' => true],
|
||||||
'closing_balance',
|
'closing_balance',
|
||||||
'reconciled' => ['boolean' => true],
|
'reconciled' => ['boolean' => true],
|
||||||
@ -89,6 +93,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Banking\Transaction::class => [
|
App\Models\Banking\Transaction::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'type',
|
'type',
|
||||||
'account_id' => [
|
'account_id' => [
|
||||||
'route' => 'accounts.index'
|
'route' => 'accounts.index'
|
||||||
@ -112,6 +117,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Banking\Transfer::class => [
|
App\Models\Banking\Transfer::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'expense_account' => [
|
'expense_account' => [
|
||||||
'relationship' => true,
|
'relationship' => true,
|
||||||
'route' => 'accounts.index',
|
'route' => 'accounts.index',
|
||||||
@ -125,6 +131,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Common\Company::class => [
|
App\Models\Common\Company::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'domain' => ['searchable' => true],
|
'domain' => ['searchable' => true],
|
||||||
'settings.value' => ['searchable' => true],
|
'settings.value' => ['searchable' => true],
|
||||||
'enabled' => ['boolean' => true],
|
'enabled' => ['boolean' => true],
|
||||||
@ -133,6 +140,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Common\Dashboard::class => [
|
App\Models\Common\Dashboard::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'enabled' => ['boolean' => true],
|
'enabled' => ['boolean' => true],
|
||||||
],
|
],
|
||||||
@ -140,6 +148,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Common\Item::class => [
|
App\Models\Common\Item::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'description' => ['searchable' => true],
|
'description' => ['searchable' => true],
|
||||||
'enabled' => ['boolean' => true],
|
'enabled' => ['boolean' => true],
|
||||||
@ -153,6 +162,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Common\Contact::class => [
|
App\Models\Common\Contact::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'type',
|
'type',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'email' => ['searchable' => true],
|
'email' => ['searchable' => true],
|
||||||
@ -171,6 +181,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Document\Document::class => [
|
App\Models\Document\Document::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'type' => ['searchable' => true],
|
'type' => ['searchable' => true],
|
||||||
'document_number' => ['searchable' => true],
|
'document_number' => ['searchable' => true],
|
||||||
'order_number' => ['searchable' => true],
|
'order_number' => ['searchable' => true],
|
||||||
@ -199,6 +210,7 @@ return [
|
|||||||
|
|
||||||
'App\Models\Purchase\Bill' => [
|
'App\Models\Purchase\Bill' => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'document_number' => ['searchable' => true],
|
'document_number' => ['searchable' => true],
|
||||||
'order_number' => ['searchable' => true],
|
'order_number' => ['searchable' => true],
|
||||||
'status',
|
'status',
|
||||||
@ -228,6 +240,7 @@ return [
|
|||||||
|
|
||||||
'App\Models\Purchase\Payment' => [
|
'App\Models\Purchase\Payment' => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'type',
|
'type',
|
||||||
'account_id' => [
|
'account_id' => [
|
||||||
'route' => 'accounts.index'
|
'route' => 'accounts.index'
|
||||||
@ -253,6 +266,7 @@ return [
|
|||||||
|
|
||||||
'App\Models\Sale\Invoice' => [
|
'App\Models\Sale\Invoice' => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'document_number' => ['searchable' => true],
|
'document_number' => ['searchable' => true],
|
||||||
'order_number' => ['searchable' => true],
|
'order_number' => ['searchable' => true],
|
||||||
'status',
|
'status',
|
||||||
@ -282,6 +296,7 @@ return [
|
|||||||
|
|
||||||
'App\Models\Sale\Revenue' => [
|
'App\Models\Sale\Revenue' => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'type',
|
'type',
|
||||||
'account_id' => [
|
'account_id' => [
|
||||||
'route' => 'accounts.index'
|
'route' => 'accounts.index'
|
||||||
@ -307,6 +322,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Setting\Category::class => [
|
App\Models\Setting\Category::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'enabled' => ['boolean' => true],
|
'enabled' => ['boolean' => true],
|
||||||
'type',
|
'type',
|
||||||
@ -315,6 +331,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Setting\Currency::class => [
|
App\Models\Setting\Currency::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'code' => ['searchable' => true],
|
'code' => ['searchable' => true],
|
||||||
'rate' => ['searchable' => true],
|
'rate' => ['searchable' => true],
|
||||||
@ -335,6 +352,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Setting\Tax::class => [
|
App\Models\Setting\Tax::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
'type',
|
'type',
|
||||||
'rate',
|
'rate',
|
||||||
@ -344,6 +362,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Portal\Sale\Invoice::class => [
|
App\Models\Portal\Sale\Invoice::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'document_number' => ['searchable' => true],
|
'document_number' => ['searchable' => true],
|
||||||
'order_number' => ['searchable' => true],
|
'order_number' => ['searchable' => true],
|
||||||
'status',
|
'status',
|
||||||
@ -362,6 +381,7 @@ return [
|
|||||||
|
|
||||||
App\Models\Portal\Banking\Transaction::class => [
|
App\Models\Portal\Banking\Transaction::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
|
'id',
|
||||||
'paid_at' => ['date' => true],
|
'paid_at' => ['date' => true],
|
||||||
'amount',
|
'amount',
|
||||||
'currency_code' => [
|
'currency_code' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user