You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using getPaymentTermDescription() to specify the payment terms one still has to define getDueDate() as well.
This is caused by following lines where paymentTermsDescription is always 'null' for the first if-block. Therefore the fallback string is constructed in any case before even testing for a supplied description.
Exchanging the two if-Blocks would correct both issues and be the correct way to implement this.
When using getPaymentTermDescription() to specify the payment terms one still has to define getDueDate() as well.
This is caused by following lines where
paymentTermsDescription
is always 'null' for the first if-block. Therefore the fallback string is constructed in any case before even testing for a supplied description.Exchanging the two if-Blocks would correct both issues and be the correct way to implement this.
mustangproject/libraryBasic/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRD2PullProvider.java
Lines 255 to 261 in 496c6bd
The text was updated successfully, but these errors were encountered: