diff --git a/app/Console/Commands/excel/Ireland.php b/app/Console/Commands/excel/Ireland.php index 78d821a42..ca435851e 100644 --- a/app/Console/Commands/excel/Ireland.php +++ b/app/Console/Commands/excel/Ireland.php @@ -40,6 +40,6 @@ public function __construct() { public function handle() { Log::info('Loading Irish Excel File'); - Excel::import(new IrelandEventsImport(), 'ireland-2022.xlsx', 'excel'); + Excel::import(new IrelandEventsImport(), 'ireland-2023.xlsx', 'excel'); } } diff --git a/app/Imports/IrelandEventsImport.php b/app/Imports/IrelandEventsImport.php index 62e7f1c8d..45f30493c 100644 --- a/app/Imports/IrelandEventsImport.php +++ b/app/Imports/IrelandEventsImport.php @@ -67,7 +67,7 @@ public function model(array $row) { 'user_email' => '', 'contact_person' => $row['organizer_email'], 'country_iso' => 'IE', - 'picture' => 'https://codeweek-s3.s3.eu-west-1.amazonaws.com/cw2022/ms-dreams.png', + 'picture' => $row["image"] ?? 'https://codeweek-s3.s3.amazonaws.com/event_picture/logo_gs_2016_07703ca0-7e5e-4cab-affb-4de93e3f2497.png', 'pub_date' => now(), 'created' => now(), 'updated' => now(), diff --git a/resources/excel/ireland-2023.xlsx b/resources/excel/ireland-2023.xlsx new file mode 100644 index 000000000..2d10235b3 Binary files /dev/null and b/resources/excel/ireland-2023.xlsx differ