Merge branch 'ZUGFeRD:master' into master
This commit is contained in:
@@ -8,7 +8,8 @@ allow to add includedNotes with type
|
||||
- 631 multiple invoice referenced documents
|
||||
- 629
|
||||
- 630 #296 #565
|
||||
-
|
||||
- 657
|
||||
- 658
|
||||
|
||||
2.15.2
|
||||
=======
|
||||
|
||||
@@ -114,8 +114,10 @@ public class Contact implements IZUGFeRDExportableContact {
|
||||
if (currentItemNode.getLocalName() != null) {
|
||||
|
||||
if (currentItemNode.getLocalName().equals("PersonName")/*CII*/||currentItemNode.getLocalName().equals("Name")/*UBL*/) {
|
||||
if (currentItemNode.getFirstChild()!=null) {
|
||||
setName(currentItemNode.getFirstChild().getNodeValue());
|
||||
}
|
||||
}
|
||||
if (currentItemNode.getLocalName().equals("TelephoneUniversalCommunication")) { /*CII*/
|
||||
NodeList tel = currentItemNode.getChildNodes();
|
||||
for (int telChildIndex = 0; telChildIndex < tel.getLength(); telChildIndex++) {
|
||||
|
||||
@@ -737,7 +737,7 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
|
||||
}
|
||||
|
||||
if ((trans.getZFCharges() != null) && (trans.getZFCharges().length > 0)) {
|
||||
if (profile == Profiles.getByName("XRechnung")) {
|
||||
if ((profile == Profiles.getByName("XRechnung")) || (profile == Profiles.getByName("EN16931")) || (profile == Profiles.getByName("EXTENDED"))) {
|
||||
for (IZUGFeRDAllowanceCharge charge : trans.getZFCharges()) {
|
||||
xml += "<ram:SpecifiedTradeAllowanceCharge>" +
|
||||
"<ram:ChargeIndicator>" +
|
||||
|
||||
Reference in New Issue
Block a user