Skip to content

Commit

Permalink
Pauline NL
Browse files Browse the repository at this point in the history
  • Loading branch information
alainvd committed Oct 17, 2023
1 parent c0d5a1e commit 20689f8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 54 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/excel/Generic.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function handle() {

Excel::import(
new GenericEventsImport(),
'coderdojo-be.xlsx',
'pauline-2023.xlsx',
'excel'
);
}
Expand Down
52 changes: 0 additions & 52 deletions app/Console/Commands/excel/UKDigitall.php

This file was deleted.

2 changes: 1 addition & 1 deletion app/Imports/GenericEventsImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function model(array $row) {
'pub_date' => now(),
'created' => now(),
'updated' => now(),
'codeweek_for_all_participation_code' => 'cw22-coderdojo',
'codeweek_for_all_participation_code' => 'cw23-CodeWeekNL',
'start_date' => $this->parseDate($row['start_date']),
'end_date' => $this->parseDate($row['end_date']),
'geoposition' => $row['latitude'] . ',' . $row['longitude'],
Expand Down
Binary file added resources/excel/pauline-2023.xlsx
Binary file not shown.

0 comments on commit 20689f8

Please sign in to comment.