Skip to content

Commit

Permalink
fix(export): Mapping of money field
Browse files Browse the repository at this point in the history
  • Loading branch information
junajan committed Sep 26, 2016
1 parent 2c29919 commit fcc65dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coffee/exportmapping.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ class ExportMapping
memo + val.key
, '')
when CONS.ATTRIBUTE_TYPE_MONEY
_.reduce(attribute.value, (memo, val, index) ->
_.reduce(attribute.value, (memo, val, index) =>
memo += GLOBALS.DELIM_MULTI_VALUE unless index is 0
memo + _mapMoney val
memo + @_mapMoney val
, '')
else
attribute.value.join GLOBALS.DELIM_MULTI_VALUE
Expand Down

0 comments on commit fcc65dc

Please sign in to comment.