wip
This commit is contained in:
1 parent
11778c5c52
commit
4d1839ef84
2 files changed
+2
-4
No files matched your search
@@ -25,9 +25,7 @@ public static function make(): array
|
|||||||
|
|
||||||
Text::make(__('ID'), 'unique_id')->sortable(),
|
Text::make(__('ID'), 'unique_id')->sortable(),
|
||||||
|
|
||||||
Select::make(__('Loan type'), 'loan_type')
|
BelongsTo::make(__('Loan type'), 'loanType', LoanType::class)
|
||||||
->displayUsingLabels()
|
|
||||||
->options(LoanTypeRepo::values())
|
|
||||||
->sortable(),
|
->sortable(),
|
||||||
|
|
||||||
Select::make(__('Region'), 'region')
|
Select::make(__('Region'), 'region')
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ class LoanOrder extends Resource
|
|||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
public static $with = ['branch'];
|
public static $with = ['branch', 'loanType'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The columns that should be searched.
|
* The columns that should be searched.
|
||||||
|
|||||||
Reference in new issue
Block a user