Add new version in repository
This commit is contained in:
@@ -14,7 +14,8 @@ class CustomersImport implements ToModel, WithHeadingRow
|
||||
$row['cp'] = (string) $row['cp'];
|
||||
$row['mobile'] = '0' . (string) $row['mobile'];
|
||||
dump($row);
|
||||
return new Client([
|
||||
return new Client(
|
||||
[
|
||||
'civilite' => $row['civilite'],
|
||||
'name' => $row['nom'],
|
||||
'firstname' => $row['prenom'],
|
||||
@@ -24,6 +25,7 @@ class CustomersImport implements ToModel, WithHeadingRow
|
||||
'mobile' => $row['mobile'],
|
||||
'email' => $row['email'],
|
||||
'phone' => $row['telephone'],
|
||||
]);
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user