wip
This commit is contained in:
@@ -25,9 +25,7 @@ class LoanOrderFieldsForIndex
|
|||||||
|
|
||||||
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