Add support for negated amount. Closes #1660 and #1650.

This commit is contained in:
HamuZ HamuZ
2018-09-09 13:35:21 +03:00
parent c83d93971f
commit 9df2d86ac2
7 changed files with 281 additions and 1 deletions

View File

@@ -339,6 +339,12 @@ return [
'converter' => 'AmountCredit',
'field' => 'amount_credit',
],
'amount_negated' => [
'mappable' => false,
'pre-process-map' => false,
'converter' => 'AmountNegated',
'field' => 'amount_negated',
],
'amount_foreign' => [
'mappable' => false,
'pre-process-map' => false,