also work with ubl credit notes again
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
- 481
|
||||||
|
- 494
|
||||||
|
|
||||||
|
|
||||||
2.14.0
|
2.14.0
|
||||||
=======
|
=======
|
||||||
2024-09-22
|
2024-09-22
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package org.mustangproject;
|
package org.mustangproject;
|
||||||
|
|
||||||
public enum EStandard {
|
public enum EStandard {
|
||||||
facturx, orderx, despatchadvice, ubldespatchadvice, zugferd, cii, ubl
|
facturx, orderx, despatchadvice, ubldespatchadvice, zugferd, cii, ubl, ubl_creditnote
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ public class ZUGFeRDVisualizer {
|
|||||||
} else if (root.getLocalName().equals(ublSignature)) {
|
} else if (root.getLocalName().equals(ublSignature)) {
|
||||||
return EStandard.ubl;
|
return EStandard.ubl;
|
||||||
} else if (root.getLocalName().equals(ublCreditNoteSignature)) {
|
} else if (root.getLocalName().equals(ublCreditNoteSignature)) {
|
||||||
return EStandard.ubl;
|
return EStandard.ubl_creditnote;
|
||||||
} else if (root.getLocalName().equals(cioSignature)) {
|
} else if (root.getLocalName().equals(cioSignature)) {
|
||||||
return EStandard.orderx;
|
return EStandard.orderx;
|
||||||
}
|
}
|
||||||
@@ -198,6 +198,10 @@ public class ZUGFeRDVisualizer {
|
|||||||
//zf2 or fx
|
//zf2 or fx
|
||||||
applyUBL2XSLT(fis, iaos);
|
applyUBL2XSLT(fis, iaos);
|
||||||
doPostProcessing = true;
|
doPostProcessing = true;
|
||||||
|
} else if (thestandard == EStandard.ubl_creditnote) {
|
||||||
|
//zf2 or fx
|
||||||
|
applyUBLCreditNote2XSLT(fis, iaos);
|
||||||
|
doPostProcessing = true;
|
||||||
} else if (thestandard == EStandard.orderx) {
|
} else if (thestandard == EStandard.orderx) {
|
||||||
//zf2 or fx
|
//zf2 or fx
|
||||||
applyCIO2XSLT(fis, iaos);
|
applyCIO2XSLT(fis, iaos);
|
||||||
@@ -262,6 +266,8 @@ public class ZUGFeRDVisualizer {
|
|||||||
applyZF2XSLT(fis, iaos);
|
applyZF2XSLT(fis, iaos);
|
||||||
} else if (theStandard == EStandard.ubl) {
|
} else if (theStandard == EStandard.ubl) {
|
||||||
applyUBL2XSLT(fis, iaos);
|
applyUBL2XSLT(fis, iaos);
|
||||||
|
} else if (theStandard == EStandard.ubl_creditnote) {
|
||||||
|
applyUBLCreditNote2XSLT(fis, iaos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user