closes #708
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
#705
|
#705
|
||||||
|
#707
|
||||||
|
-#708
|
||||||
|
|
||||||
2.16.1
|
2.16.1
|
||||||
=======
|
=======
|
||||||
|
|||||||
@@ -1116,11 +1116,17 @@ public class ZUGFeRDInvoiceImporter {
|
|||||||
*
|
*
|
||||||
* @return the file attachments embedded in XML (using base64) decoded as byte array,
|
* @return the file attachments embedded in XML (using base64) decoded as byte array,
|
||||||
* for PDF embedded files in FX use getFileAttachmentsPDF()
|
* for PDF embedded files in FX use getFileAttachmentsPDF()
|
||||||
|
* may return empty array
|
||||||
* @deprecated use invoice.getAdditionalReferencedDocuments
|
* @deprecated use invoice.getAdditionalReferencedDocuments
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public List<FileAttachment> getFileAttachmentsXML() {
|
public List<FileAttachment> getFileAttachmentsXML() {
|
||||||
return new ArrayList<>(Arrays.asList(importedInvoice.getAdditionalReferencedDocuments()));
|
if (importedInvoice.getAdditionalReferencedDocuments()!=null) {
|
||||||
|
return new ArrayList<>(Arrays.asList(importedInvoice.getAdditionalReferencedDocuments()));
|
||||||
|
} else {
|
||||||
|
return new ArrayList<>();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|||||||
Reference in New Issue
Block a user