This commit is contained in:
nurmuhammet committed 2023-11-24 18:31:58 +05:00
1 parent 35c6e580ca
commit 206582e195
7 files changed
+272 -7

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<?php
namespace App\Repos\Order\Loan;
use App\Models\Branch\Branch;
use Illuminate\Support\Collection;
class BranchRepo
{
/**
* Branch values
*/
public static function values(): Collection|array
{
return Branch::pluck('name', 'id');
}
}
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace App\Repos\Order\Loan;
use App\Models\Order\Loan\LoanType;
use Illuminate\Support\Collection;
class LoanTypeRepo
{
/**
* Loan type values
*/
public static function values(): Collection|array
{
return LoanType::pluck('name', 'id');
}
}