fix(settings): read SuperAdmin overlay via ConfigService everywhere
This commit is contained in:
@@ -7,6 +7,7 @@ use App\Models\Customer;
|
||||
use App\Models\Price;
|
||||
use App\Models\PriceTrigger;
|
||||
use App\Models\Product;
|
||||
use App\Services\ConfigService;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class PriceTriggerService
|
||||
@@ -162,7 +163,7 @@ class PriceTriggerService
|
||||
$title = 'طلا';
|
||||
}
|
||||
|
||||
$shopName = (string) Controller::Config('name_fa');
|
||||
$shopName = (string) app(ConfigService::class)->getString('name_fa');
|
||||
$message = 'قیمت ' . $title . ' به ' . number_format((int) $current) . " رسید\n" . $shopName;
|
||||
|
||||
if (! Controller::isSmsNotifEnabled('sms_notif_price_trigger')) {
|
||||
|
||||
Reference in New Issue
Block a user