have fax numbers for contacts only as of extended profile
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
- xmp errors may not show correctly in log
|
- xmp errors may not show correctly in log
|
||||||
### 2.0.1 done
|
### 2.0.1 done
|
||||||
- corrected VAT calculation on prices with >2 decimals (PR#195 thanks to weclapp-dev)
|
- corrected VAT calculation on prices with >2 decimals (PR#195 thanks to weclapp-dev)
|
||||||
|
- have fax numbers only in appropriate profiles, i.e., extended
|
||||||
- do not list tax numbers for shiptotradeparties
|
- do not list tax numbers for shiptotradeparties
|
||||||
- do not expect dueDate for corrected invoices
|
- do not expect dueDate for corrected invoices
|
||||||
- XR test now includes guideline ID #172
|
- XR test now includes guideline ID #172
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mustangproject</groupId>
|
<groupId>org.mustangproject</groupId>
|
||||||
<artifactId>validator</artifactId>
|
<artifactId>validator</artifactId>
|
||||||
<version>2.0.0-alpha4-SNAPSHOT</version>
|
<version>2.0.1-SNAPSHOT</version>
|
||||||
<!-- prototypes of new mustangproject versions can be installed by referring to them and installed to the local repo from a jar file with
|
<!-- prototypes of new mustangproject versions can be installed by referring to them and installed to the local repo from a jar file with
|
||||||
mvn install:install-file -Dfile=mustang-1.5.4-SNAPSHOT.jar -DgroupId=org.mustangproject.ZUGFeRD -DartifactId=mustang -Dversion=1.5.4 -Dpackaging=jar -DgeneratePom=true
|
mvn install:install-file -Dfile=mustang-1.5.4-SNAPSHOT.jar -DgroupId=org.mustangproject.ZUGFeRD -DartifactId=mustang -Dversion=1.5.4 -Dpackaging=jar -DgeneratePom=true
|
||||||
-->
|
-->
|
||||||
|
|||||||
@@ -137,8 +137,7 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
|
|||||||
+ " </ram:TelephoneUniversalCommunication>\n";
|
+ " </ram:TelephoneUniversalCommunication>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (party.getContact().getFax() != null) {
|
if ((party.getContact().getFax() != null)&&(profile==Profiles.getByName("Extended"))) {
|
||||||
|
|
||||||
xml = xml + " <ram:FaxUniversalCommunication>\n" + " <ram:CompleteNumber>"
|
xml = xml + " <ram:FaxUniversalCommunication>\n" + " <ram:CompleteNumber>"
|
||||||
+ XMLTools.encodeXML(party.getContact().getFax()) + "</ram:CompleteNumber>\n"
|
+ XMLTools.encodeXML(party.getContact().getFax()) + "</ram:CompleteNumber>\n"
|
||||||
+ " </ram:FaxUniversalCommunication>\n";
|
+ " </ram:FaxUniversalCommunication>\n";
|
||||||
|
|||||||
@@ -75,10 +75,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mustangproject</groupId>
|
<groupId>org.mustangproject</groupId>
|
||||||
<artifactId>library</artifactId>
|
<artifactId>library</artifactId>
|
||||||
<version>2.0.0-alpha4-SNAPSHOT</version>
|
<version>2.0.1-SNAPSHOT</version>
|
||||||
<!-- prototypes of new mustangproject versions can be installed by referring to them and installed to the local repo from a jar file with
|
|
||||||
mvn install:install-file -Dfile=mustang-1.5.4-SNAPSHOT.jar -DgroupId=org.mustangproject.ZUGFeRD -DartifactId=mustang -Dversion=1.5.4 -Dpackaging=jar -DgeneratePom=true
|
|
||||||
-->
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.xmlunit</groupId>
|
<groupId>org.xmlunit</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user