diff --git a/templates/xml/core_data.xml b/templates/xml/core_data.xml index 9338ca3759787c0a64b6ff6e0d74832c6bd3712c..80719db071f28b35b9fc6e4a9b066d3922db8eeb 100644 --- a/templates/xml/core_data.xml +++ b/templates/xml/core_data.xml @@ -28,10 +28,12 @@ </dcc:description> </dcc:identification> {% endfor -%} - </dcc:identifications> - <dcc:receiptDate> + </dcc:identifications> + {%- if x.receiptDate %} + <dcc:receiptDate> <hugo {{x.receiptDate}} </dcc:receiptDate> + {% endif -%} <dcc:beginPerformanceDate> {{x.beginPerformanceDate}} </dcc:beginPerformanceDate>