fix bug
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user