@@ -20,6 +20,8 @@ class RankImport extends BaseImporter
|
|||||||
$rank = Rank::firstOrCreate(['name' => $row->rank], [
|
$rank = Rank::firstOrCreate(['name' => $row->rank], [
|
||||||
'image_url' => $row->rankimage,
|
'image_url' => $row->rankimage,
|
||||||
'hours' => $row->minhours,
|
'hours' => $row->minhours,
|
||||||
|
'acars_base_payrate' => $row->payrate,
|
||||||
|
'manual_base_payrate' => $row->payrate,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->idMapper->addMapping('ranks', $row->rankid, $rank->id);
|
$this->idMapper->addMapping('ranks', $row->rankid, $rank->id);
|
||||||
|
|||||||
Reference in New Issue
Block a user