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 => [
|
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],
|
||||||
@ -78,6 +81,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],
|
||||||
@ -88,6 +92,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'
|
||||||
@ -111,6 +116,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',
|
||||||
@ -124,6 +130,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],
|
||||||
@ -132,6 +139,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],
|
||||||
],
|
],
|
||||||
@ -139,6 +147,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],
|
||||||
@ -152,6 +161,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],
|
||||||
@ -170,6 +180,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],
|
||||||
@ -198,6 +209,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',
|
||||||
@ -227,6 +239,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'
|
||||||
@ -252,6 +265,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',
|
||||||
@ -281,6 +295,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'
|
||||||
@ -306,6 +321,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',
|
||||||
@ -314,6 +330,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],
|
||||||
@ -334,6 +351,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',
|
||||||
@ -343,6 +361,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',
|
||||||
@ -361,6 +380,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