Merge pull request #1657 from cuneytsenturk/search-filter
Search & Filter enhancement feature..
This commit is contained in:
		| @@ -69,7 +69,9 @@ return [ | ||||
|             'number' => ['searchable' => true], | ||||
|             'bank_name' => ['searchable' => true], | ||||
|             'bank_address' => ['searchable' => true], | ||||
|             'currency' => ['relationship' => true], | ||||
|             'currency_code' => [ | ||||
|                 'route' => 'currencies.index' | ||||
|             ], | ||||
|             'enabled' => ['boolean' => true], | ||||
|         ], | ||||
|     ], | ||||
| @@ -87,16 +89,24 @@ return [ | ||||
|     App\Models\Banking\Transaction::class => [ | ||||
|         'columns' => [ | ||||
|             'type', | ||||
|             'account_id', | ||||
|             'account_id' => [ | ||||
|                 'route' => 'accounts.index' | ||||
|             ], | ||||
|             'paid_at' => ['date' => true], | ||||
|             'amount', | ||||
|             'currency_code', | ||||
|             'currency_code' => [ | ||||
|                 'route' => 'currencies.index' | ||||
|             ], | ||||
|             'document_id', | ||||
|             'contact_id', | ||||
|             'contact_id' => [ | ||||
|                 'route' => 'customers.index' | ||||
|             ], | ||||
|             'description' => ['searchable' => true], | ||||
|             'payment_method', | ||||
|             'reference', | ||||
|             'category_id', | ||||
|             'category_id' => [ | ||||
|                 'route' => 'categories.index' | ||||
|             ], | ||||
|             'parent_id', | ||||
|         ], | ||||
|     ], | ||||
| @@ -120,8 +130,10 @@ return [ | ||||
|             'name' => ['searchable' => true], | ||||
|             'description' => ['searchable' => true], | ||||
|             'enabled' => ['boolean' => true], | ||||
|             'category_id' => ['key' => 'category_id'], | ||||
|             'sale_price', | ||||
|             'category_id' => [ | ||||
|                 'route' => ['categories.index', 'search=type:item'] | ||||
|             ], | ||||
|             'sales_price', | ||||
|             'purchase_price', | ||||
|         ], | ||||
|     ], | ||||
| @@ -135,7 +147,9 @@ return [ | ||||
|             'phone' => ['searchable' => true], | ||||
|             'address' => ['searchable' => true], | ||||
|             'website' => ['searchable' => true], | ||||
|             'currency_code', | ||||
|             'currency_code' => [ | ||||
|                 'route' => 'currencies.index' | ||||
|             ], | ||||
|             'reference', | ||||
|             'user_id', | ||||
|             'enabled' => ['boolean' => true], | ||||
| @@ -150,14 +164,20 @@ return [ | ||||
|             'billed_at' => ['date' => true], | ||||
|             'due_at' => ['date' => true], | ||||
|             'amount', | ||||
|             'currency_code', | ||||
|             'contact_id', | ||||
|             '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', | ||||
|             'category_id' => [ | ||||
|                 'route' => 'categories.index' | ||||
|             ], | ||||
|             'parent_id', | ||||
|         ], | ||||
|     ], | ||||
| @@ -170,14 +190,20 @@ return [ | ||||
|             'invoiced_at' => ['date' => true], | ||||
|             'due_at' => ['date' => true], | ||||
|             'amount', | ||||
|             'currency_code', | ||||
|             'contact_id', | ||||
|             'currency_code' => [ | ||||
|                 'route' => 'currencies.index' | ||||
|             ], | ||||
|             'contact_id' => [ | ||||
|                 'route' => 'customer.index' | ||||
|             ], | ||||
|             'contact_name' => ['searchable' => true], | ||||
|             'contact_email' => ['searchable' => true], | ||||
|             'contact_tax_number', | ||||
|             'contact_phone' => ['searchable' => true], | ||||
|             'contact_address' => ['searchable' => true], | ||||
|             'category_id', | ||||
|             'category_id' => [ | ||||
|                 'route' => 'categories.index' | ||||
|             ], | ||||
|             'parent_id', | ||||
|         ], | ||||
|     ], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user