21 lines
401 B
PHP
21 lines
401 B
PHP
<?php
|
|
|
|
namespace App\Services\Tool;
|
|
|
|
use App\Models\Calculation;
|
|
use App\Models\ReferenceSector;
|
|
use App\Services\SigdCrudService;
|
|
|
|
class CalculationService extends SigdCrudService
|
|
{
|
|
public function __construct(Calculation $model)
|
|
{
|
|
parent::__construct($model);
|
|
}
|
|
|
|
public function getSectors()
|
|
{
|
|
return ReferenceSector::rowActive()->orderByRowNum()->get();
|
|
}
|
|
}
|