Allowed only for Extended profile.
This commit is contained in:
@@ -376,7 +376,7 @@ public class ZUGFeRD2PullProvider implements IXMLProvider {
|
|||||||
+ "<!-- generated by: mustangproject.org v" + ZUGFeRD2PullProvider.class.getPackage().getImplementationVersion() + "-->"
|
+ "<!-- generated by: mustangproject.org v" + ZUGFeRD2PullProvider.class.getPackage().getImplementationVersion() + "-->"
|
||||||
+ "<rsm:ExchangedDocumentContext>\n";
|
+ "<rsm:ExchangedDocumentContext>\n";
|
||||||
|
|
||||||
if (trans.getTestIndicator()) {
|
if (trans.getTestIndicator() && profile == Profiles.getByName("Extended")) {
|
||||||
xml += "<ram:TestIndicator><udt:Indicator>" + trans.getTestIndicator() + "</udt:Indicator></ram:TestIndicator>";
|
xml += "<ram:TestIndicator><udt:Indicator>" + trans.getTestIndicator() + "</udt:Indicator></ram:TestIndicator>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user