Merge pull request #1084 from Marcel-Aimpulse/fix-xml-description
Fix xml description
This commit is contained in:
@@ -77,8 +77,11 @@ import jakarta.activation.DataSource;
|
|||||||
import jakarta.activation.FileDataSource;
|
import jakarta.activation.FileDataSource;
|
||||||
|
|
||||||
public class ZUGFeRDExporterFromA3 extends XRExporter implements IZUGFeRDExporter {
|
public class ZUGFeRDExporterFromA3 extends XRExporter implements IZUGFeRDExporter {
|
||||||
private boolean isFacturX = true;
|
|
||||||
|
private static final String XML_DESCRIPTION = https://www.ferd-net.de/en/standards/zugferd/factur-x;
|
||||||
|
|
||||||
|
private boolean isFacturX = true;
|
||||||
|
|
||||||
public static final int DefaultZUGFeRDVersion = 2;
|
public static final int DefaultZUGFeRDVersion = 2;
|
||||||
protected boolean ignorePDFAErrors = false;
|
protected boolean ignorePDFAErrors = false;
|
||||||
|
|
||||||
@@ -673,8 +676,7 @@ public class ZUGFeRDExporterFromA3 extends XRExporter implements IZUGFeRDExporte
|
|||||||
}
|
}
|
||||||
|
|
||||||
PDFAttachGenericFile(doc, filename, relationship,
|
PDFAttachGenericFile(doc, filename, relationship,
|
||||||
"Invoice metadata conforming to ZUGFeRD standard (http://www.ferd-net.de/front_content.php?idcat=231&lang=4)",
|
XML_DESCRIPTION, "text/xml", xmlProvider.getXML());
|
||||||
"text/xml", xmlProvider.getXML());
|
|
||||||
|
|
||||||
for (FileAttachment attachment : fileAttachments) {
|
for (FileAttachment attachment : fileAttachments) {
|
||||||
PDFAttachGenericFile(doc, attachment.getFilename(), attachment.getRelation(), attachment.getDescription(), attachment.getMimetype(), attachment.getData());
|
PDFAttachGenericFile(doc, attachment.getFilename(), attachment.getRelation(), attachment.getDescription(), attachment.getMimetype(), attachment.getData());
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user