id column is added to search strings
This commit is contained in:
parent
5e7f8faeba
commit
141563cba0
@ -40,6 +40,7 @@ return [
|
||||
|
||||
App\Models\Auth\Permission::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'display_name' => ['searchable' => true],
|
||||
'description' => ['searchable' => true],
|
||||
@ -48,6 +49,7 @@ return [
|
||||
|
||||
App\Models\Auth\Role::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'display_name' => ['searchable' => true],
|
||||
'description' => ['searchable' => true],
|
||||
@ -56,6 +58,7 @@ return [
|
||||
|
||||
App\Models\Auth\User::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'email' => ['searchable' => true],
|
||||
'enabled' => ['boolean' => true],
|
||||
@ -78,6 +81,7 @@ return [
|
||||
|
||||
App\Models\Banking\Reconciliation::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'account' => ['relationship' => true],
|
||||
'closing_balance',
|
||||
'reconciled' => ['boolean' => true],
|
||||
@ -88,6 +92,7 @@ return [
|
||||
|
||||
App\Models\Banking\Transaction::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'type',
|
||||
'account_id' => [
|
||||
'route' => 'accounts.index'
|
||||
@ -111,6 +116,7 @@ return [
|
||||
|
||||
App\Models\Banking\Transfer::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'expense_account' => [
|
||||
'relationship' => true,
|
||||
'route' => 'accounts.index',
|
||||
@ -124,6 +130,7 @@ return [
|
||||
|
||||
App\Models\Common\Company::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'domain' => ['searchable' => true],
|
||||
'settings.value' => ['searchable' => true],
|
||||
'enabled' => ['boolean' => true],
|
||||
@ -132,6 +139,7 @@ return [
|
||||
|
||||
App\Models\Common\Dashboard::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'enabled' => ['boolean' => true],
|
||||
],
|
||||
@ -139,6 +147,7 @@ return [
|
||||
|
||||
App\Models\Common\Item::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'description' => ['searchable' => true],
|
||||
'enabled' => ['boolean' => true],
|
||||
@ -152,6 +161,7 @@ return [
|
||||
|
||||
App\Models\Common\Contact::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'type',
|
||||
'name' => ['searchable' => true],
|
||||
'email' => ['searchable' => true],
|
||||
@ -170,6 +180,7 @@ return [
|
||||
|
||||
App\Models\Document\Document::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'type' => ['searchable' => true],
|
||||
'document_number' => ['searchable' => true],
|
||||
'order_number' => ['searchable' => true],
|
||||
@ -198,6 +209,7 @@ return [
|
||||
|
||||
'App\Models\Purchase\Bill' => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'document_number' => ['searchable' => true],
|
||||
'order_number' => ['searchable' => true],
|
||||
'status',
|
||||
@ -227,6 +239,7 @@ return [
|
||||
|
||||
'App\Models\Purchase\Payment' => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'type',
|
||||
'account_id' => [
|
||||
'route' => 'accounts.index'
|
||||
@ -252,6 +265,7 @@ return [
|
||||
|
||||
'App\Models\Sale\Invoice' => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'document_number' => ['searchable' => true],
|
||||
'order_number' => ['searchable' => true],
|
||||
'status',
|
||||
@ -281,6 +295,7 @@ return [
|
||||
|
||||
'App\Models\Sale\Revenue' => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'type',
|
||||
'account_id' => [
|
||||
'route' => 'accounts.index'
|
||||
@ -306,6 +321,7 @@ return [
|
||||
|
||||
App\Models\Setting\Category::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'enabled' => ['boolean' => true],
|
||||
'type',
|
||||
@ -314,6 +330,7 @@ return [
|
||||
|
||||
App\Models\Setting\Currency::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'code' => ['searchable' => true],
|
||||
'rate' => ['searchable' => true],
|
||||
@ -334,6 +351,7 @@ return [
|
||||
|
||||
App\Models\Setting\Tax::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'name' => ['searchable' => true],
|
||||
'type',
|
||||
'rate',
|
||||
@ -343,6 +361,7 @@ return [
|
||||
|
||||
App\Models\Portal\Sale\Invoice::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'document_number' => ['searchable' => true],
|
||||
'order_number' => ['searchable' => true],
|
||||
'status',
|
||||
@ -361,6 +380,7 @@ return [
|
||||
|
||||
App\Models\Portal\Banking\Transaction::class => [
|
||||
'columns' => [
|
||||
'id',
|
||||
'paid_at' => ['date' => true],
|
||||
'amount',
|
||||
'currency_code' => [
|
||||
|
Loading…
x
Reference in New Issue
Block a user