Import/export expenses #194

This commit is contained in:
Nabeel Shahzad
2018-03-22 17:17:37 -05:00
parent 4e3a9fd9ea
commit a44204b185
32 changed files with 613 additions and 139 deletions
@@ -47,11 +47,11 @@ class AirportImporter extends ImportExport
try {
$airport->save();
} catch(\Exception $e) {
$this->status = 'Error in row '.$index.': '.$e->getMessage();
$this->errorLog('Error in row '.$index.': '.$e->getMessage());
return false;
}
$this->status = 'Imported ' . $row['icao'];
$this->log('Imported '.$row['icao']);
return true;
}
}