fix notif

This commit is contained in:
2026-07-24 16:49:42 +03:30
parent eacf5181a9
commit 107cf5b291
10 changed files with 105 additions and 11 deletions
@@ -267,10 +267,13 @@ class ReportController extends Controller
if ($config->isOutsideTradingHours()) {
$config->syncAppClosedFlag();
return $zeroResponse();
// نمایش قیمت صفحه اصلی حتی وقتی فروشگاه بسته است — معامله همچنان از سمت اپ بسته می‌ماند
if (! $config->shouldShowHomePriceWhenClosed()) {
return $zeroResponse();
}
} else {
Cnt::where('key', 'app_closed')->update(['value' => 'false']);
}
Cnt::where('key', 'app_closed')->update(['value' => 'false']);
}
/*