19 lines
358 B
PHP
19 lines
358 B
PHP
<?php
|
|
|
|
namespace App\Services\Expenses;
|
|
|
|
use App\Models\Configuration;
|
|
|
|
class ExpenseContextService
|
|
{
|
|
public function getSchoolYear(): string
|
|
{
|
|
return (string) (Configuration::getConfig('school_year') ?? '');
|
|
}
|
|
|
|
public function getSemester(): string
|
|
{
|
|
return (string) (Configuration::getConfig('semester') ?? '');
|
|
}
|
|
}
|