loan order

This commit is contained in:
2024-09-24 13:28:22 +05:00
parent ace16087a7
commit 04d9b9ac7a
7 changed files with 600 additions and 5 deletions

View File

@@ -17,6 +17,11 @@ class LoanTypeRepo
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
*/