fix some bugs
This commit is contained in:
@@ -176,6 +176,12 @@ class PriceBroadcastService
|
||||
'id' => (int) ($product['id'] ?? 0),
|
||||
'price' => (int) ($product['price'] ?? 0),
|
||||
'price_profit' => (int) ($product['price_profit'] ?? 0),
|
||||
'amount' => (float) ($product['amount'] ?? 0),
|
||||
'app_price' => (bool) ($product['app_price'] ?? false),
|
||||
'trade_by_quantity' => (bool) ($product['trade_by_quantity'] ?? false),
|
||||
'direct_price' => (int) ($product['direct_price'] ?? 0),
|
||||
'reading_method' => (string) ($product['reading_method'] ?? ''),
|
||||
'price_offset_percent' => (float) ($product['price_offset_percent'] ?? 0),
|
||||
'show' => (bool) ($product['show'] ?? true),
|
||||
'active' => (bool) ($product['active'] ?? true),
|
||||
'reference_provider_active' => (bool) ($product['reference_provider_active'] ?? false),
|
||||
|
||||
Reference in New Issue
Block a user