Don’t round amount when exporting #506

This commit is contained in:
James Cole
2016-12-30 11:58:23 +01:00
parent abb8eafec2
commit 1c5dc6ab6d

View File

@@ -75,7 +75,7 @@ final class Entry
$entry = new self;
$entry->journal_id = $object->transaction_journal_id;
$entry->description = self::decrypt($object->journal_encrypted, $object->journal_description);
$entry->amount = round($object->amount, 2); // always positive
$entry->amount = $object->amount;
$entry->date = $object->date;
$entry->transaction_type = $object->transaction_type;
$entry->currency_code = $object->transaction_currency_code;