wip
This commit is contained in:
@@ -25,9 +25,7 @@ class LoanOrderFieldsForIndex
|
||||
|
||||
Text::make(__('ID'), 'unique_id')->sortable(),
|
||||
|
||||
Select::make(__('Loan type'), 'loan_type')
|
||||
->displayUsingLabels()
|
||||
->options(LoanTypeRepo::values())
|
||||
BelongsTo::make(__('Loan type'), 'loanType', LoanType::class)
|
||||
->sortable(),
|
||||
|
||||
Select::make(__('Region'), 'region')
|
||||
|
||||
@@ -55,7 +55,7 @@ class LoanOrder extends Resource
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $with = ['branch'];
|
||||
public static $with = ['branch', 'loanType'];
|
||||
|
||||
/**
|
||||
* The columns that should be searched.
|
||||
|
||||
Reference in New Issue
Block a user