From 37aa454c9e1f1d8f48863dc14eaa1bc4aec7c90e Mon Sep 17 00:00:00 2001
From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de>
Date: Thu, 10 Sep 2020 12:42:56 +0200
Subject: [PATCH] "receiptDate" optional

---
 templates/xml/core_data.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/templates/xml/core_data.xml b/templates/xml/core_data.xml
index 9338ca3..80719db 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>
-- 
GitLab