commit
0a04f7eafb
@ -62,14 +62,13 @@ class InventoryImport implements ToArray, SkipsEmptyRows
|
||||
]);
|
||||
$shopPrice = [];
|
||||
foreach ($row as $i => $v) {
|
||||
if ($i > 5) {
|
||||
if ($i > 4) {
|
||||
$shopPrice[$header[$i]] = $v;
|
||||
}
|
||||
}
|
||||
$todayPrice[] = [
|
||||
'day' => $day,
|
||||
'external_sku_id' => $goodsSku['external_sku_id'],
|
||||
'price' => $row[5],
|
||||
'shop_price' => json_encode($shopPrice, 256)
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user