mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-13 00:36:04 -06:00
Merge pull request #1081 from openclassify/muammertop
edited advs import
This commit is contained in:
commit
acd552b781
@ -15,9 +15,14 @@ class AdvsImport implements ToModel, WithHeadingRow
|
||||
return new AdvModel([
|
||||
'name' => $row['name'],
|
||||
'slug' => Str::slug($row['name']),
|
||||
'advs_desc' => $row['description'],
|
||||
'advs_desc' => $row['description'] ?? null,
|
||||
'standard_price' => $row['standard_price'] ?? null,
|
||||
'price' => $row['price'],
|
||||
'currency' => $row['currency'],
|
||||
'country' => $row['country'] ?? null,
|
||||
'city' => $row['city'] ?? null,
|
||||
'cat1' => $row['cat1'] ?? null,
|
||||
'cat2' => $row['cat2'] ?? null,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user