This commit is contained in:
2026-06-14 22:00:21 +03:30
parent 0c4cbd7c12
commit b021acde56
7 changed files with 119 additions and 15 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ class ProductPriceSyncService
$synced = false;
foreach ($products as $product) {
$show = ($currentTime >= $product->auto_open_at && $currentTime <= $product->auto_close_at);
$show = app(ConfigService::class)->isProductWithinTradingHours($product);
foreach ($RPrices as $RPrice) {
if ($product->reading_method == ($RPrice['name'] ?? null)) {