Merge pull request #65 from CSSAG/master

Wrong currency in xml part
This commit is contained in:
Jochen Staerk
2018-10-15 18:52:57 +02:00
committed by GitHub

View File

@@ -88,6 +88,7 @@ class ZUGFeRDTransactionModelConverter {
ZUGFeRDTransactionModelConverter(IZUGFeRDExportableTransaction trans) { ZUGFeRDTransactionModelConverter(IZUGFeRDExportableTransaction trans) {
this.trans = trans; this.trans = trans;
totals = new Totals(); totals = new Totals();
this.currency = trans.getCurrency() != null ? trans.getCurrency(): currency;
} }