This commit is contained in:
nurmuhammet committed 2023-12-04 16:43:08 +05:00
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(),
Select::make(__('Loan type'), 'loan_type')
->displayUsingLabels()
->options(LoanTypeRepo::values())
BelongsTo::make(__('Loan type'), 'loanType', LoanType::class)
->sortable(),
Select::make(__('Region'), 'region')
+1 -1
View File
@@ -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.