WIP
This commit is contained in:
17
app/Repos/Order/Loan/BranchRepo.php
Normal file
17
app/Repos/Order/Loan/BranchRepo.php
Normal 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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user