add stickers logic

This commit is contained in:
root
2026-03-10 16:40:11 -04:00
parent 3bf4c687da
commit 2e9a391280
17 changed files with 1047 additions and 390 deletions
@@ -0,0 +1,18 @@
<?php
namespace App\Services\Reports\Stickers;
use App\Models\Configuration;
class StickerContextService
{
public function schoolYear(?string $override = null): string
{
$override = trim((string) $override);
if ($override !== '') {
return $override;
}
return trim((string) (Configuration::getConfig('school_year') ?? ''));
}
}