19 lines
400 B
PHP
19 lines
400 B
PHP
<?php
|
|
|
|
namespace App\Services\Sigtap;
|
|
|
|
use App\Models\Sigtap\Financiamento;
|
|
use App\Services\Service;
|
|
|
|
class FinanciamentoService extends Service
|
|
{
|
|
public static function index()
|
|
{
|
|
$where = self::getWhereFromQueryString([
|
|
'competencia_id',
|
|
]);
|
|
|
|
return self::get(Financiamento::class)->where($where)->select(['id', 'nome'])->orderBy('nome')->get();
|
|
}
|
|
}
|