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
|
- 631 multiple invoice referenced documents
|
||||||
- 629
|
- 629
|
||||||
- 630 #296 #565
|
- 630 #296 #565
|
||||||
-
|
- 657
|
||||||
|
- 658
|
||||||
|
|
||||||
2.15.2
|
2.15.2
|
||||||
=======
|
=======
|
||||||
|
|||||||
@@ -114,7 +114,9 @@ public class Contact implements IZUGFeRDExportableContact {
|
|||||||
if (currentItemNode.getLocalName() != null) {
|
if (currentItemNode.getLocalName() != null) {
|
||||||
|
|
||||||
if (currentItemNode.getLocalName().equals("PersonName")/*CII*/||currentItemNode.getLocalName().equals("Name")/*UBL*/) {
|
if (currentItemNode.getLocalName().equals("PersonName")/*CII*/||currentItemNode.getLocalName().equals("Name")/*UBL*/) {
|
||||||
setName(currentItemNode.getFirstChild().getNodeValue());
|
if (currentItemNode.getFirstChild()!=null) {
|
||||||
|
setName(currentItemNode.getFirstChild().getNodeValue());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (currentItemNode.getLocalName().equals("TelephoneUniversalCommunication")) { /*CII*/
|
if (currentItemNode.getLocalName().equals("TelephoneUniversalCommunication")) { /*CII*/
|
||||||
NodeList tel = currentItemNode.getChildNodes();
|
NodeList tel = currentItemNode.getChildNodes();
|
||||||
|
|||||||
@@ -737,7 +737,7 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((trans.getZFCharges() != null) && (trans.getZFCharges().length > 0)) {
|
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()) {
|
for (IZUGFeRDAllowanceCharge charge : trans.getZFCharges()) {
|
||||||
xml += "<ram:SpecifiedTradeAllowanceCharge>" +
|
xml += "<ram:SpecifiedTradeAllowanceCharge>" +
|
||||||
"<ram:ChargeIndicator>" +
|
"<ram:ChargeIndicator>" +
|
||||||
|
|||||||
Reference in New Issue
Block a user