Add new version in repository

This commit is contained in:
Ludovic CANDELLIER
2021-07-25 23:19:27 +02:00
parent f75632b054
commit b879f11c99
608 changed files with 12235 additions and 7513 deletions

View File

@@ -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'],
]);
]
);
}
}