This commit is contained in:
2024-09-24 23:10:46 +05:00
parent e7374afdb3
commit 4ccb8b4347
5 changed files with 154 additions and 5 deletions

View File

@@ -17,6 +17,9 @@ class LoanTypeRepo
return LoanType::where('active', true)->pluck('name', 'id');
}
/**
* Only guarantor
*/
public static function onlyGuarantor(): Collection|array
{
return LoanType::where('active', true)->where('id', static::loanTypeGuarantorId())->pluck('name', 'id');

View File

@@ -29,6 +29,11 @@ class OrderRepo
*/
public const CANCELLED = 'cancelled';
/**
* Mobile device
*/
public const MOBILE_DEVICE = 'mobile';
/**
* Default status value
*/