fix kashkool
This commit is contained in:
@@ -63,6 +63,12 @@ class ConfigService
|
||||
return $this->getBool('is_store', false);
|
||||
}
|
||||
|
||||
/** کد معرف در ثبتنام اجباری است (تنظیم referral_id = required) */
|
||||
public function isReferralRequired(): bool
|
||||
{
|
||||
return strtolower(trim($this->getString('referral_id'))) === 'required';
|
||||
}
|
||||
|
||||
public function getInt(string $key, int $default = 0): int
|
||||
{
|
||||
$value = $this->get($key, $default);
|
||||
|
||||
Reference in New Issue
Block a user