add inventory and supply logic
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Inventory;
|
||||
|
||||
use App\Models\Configuration;
|
||||
|
||||
class InventoryContextService
|
||||
{
|
||||
public function schoolYear(): string
|
||||
{
|
||||
return trim((string) (Configuration::getConfig('school_year') ?? ''));
|
||||
}
|
||||
|
||||
public function semester(): string
|
||||
{
|
||||
return trim((string) (Configuration::getConfig('semester') ?? ''));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user