19 lines
381 B
PHP
19 lines
381 B
PHP
<?php
|
|
|
|
namespace App\Services\Reimbursements;
|
|
|
|
use App\Models\Configuration;
|
|
|
|
class ReimbursementContextService
|
|
{
|
|
public function getSchoolYear(): string
|
|
{
|
|
return (string) (Configuration::getConfig('school_year') ?? date('Y'));
|
|
}
|
|
|
|
public function getSemester(): string
|
|
{
|
|
return (string) (Configuration::getConfig('semester') ?? 'Fall');
|
|
}
|
|
}
|