Skip to content

Commit

Permalink
Extend aCar provider with fuelling fuel type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrblur committed Jan 24, 2018
1 parent 4bdf6c6 commit e3b4a02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fuelioimporter/providers/acarprovider.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ protected function processFuellings(SimpleXMLElement $data, ZipArchive $in, Fuel
$notes = (string) $record->{'fuel-brand'} . ' ' . (string) $record->{'fueling-station-address'} . ' ' . (string) $record->notes;
$entry->setNotes(trim($notes));
$entry->setMissedEntries(0);
$entry->setFuelType($this->getFuelType((string)$record->{'fuel-type-id'}));
$out->writeFuelLog($entry);
}
}
Expand Down

0 comments on commit e3b4a02

Please sign in to comment.