loan order

This commit is contained in:
nurmuhammet committed 2024-09-24 13:28:22 +05:00
1 parent ace16087a7
commit 04d9b9ac7a
7 files changed
+600 -5

No files matched your search

+5
View File
@@ -17,6 +17,11 @@ public static function values(): Collection|array
return LoanType::where('active', true)->pluck('name', 'id');
}
public static function onlyGuarantor(): Collection|array
{
return LoanType::where('active', true)->where('id', static::loanTypeGuarantorId())->pluck('name', 'id');
}
/**
* Loan type guarantor id
*/