Merge pull request #156 from heisej/fix_issue_155

now i understand. thanks!
This commit is contained in:
Jochen Staerk
2020-05-07 17:31:31 +02:00
committed by GitHub

View File

@@ -252,13 +252,14 @@ public class ZUGFeRD2PullProvider implements IXMLProvider, IProfileProvider {
SimpleDateFormat zugferdDateFormat = new SimpleDateFormat("yyyyMMdd"); //$NON-NLS-1$
String exemptionReason="";
if (trans.getPaymentTermDescription()!=null) {
paymentTermsDescription=trans.getPaymentTermDescription();
}
if (paymentTermsDescription==null) {
paymentTermsDescription= "Zahlbar ohne Abzug bis " + germanDateFormat.format(trans.getDueDate());
}
if (trans.getPaymentTermDescription()!=null) {
paymentTermsDescription=trans.getPaymentTermDescription();
}
String senderReg = "";
if (trans.getOwnOrganisationFullPlaintextInfo() != null) {