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