From 221635910370a5829ab70d6c12eb10a2e702e984 Mon Sep 17 00:00:00 2001 From: islean Date: Thu, 23 Jan 2025 14:08:11 +0100 Subject: [PATCH] Fix order messages --- cg/services/orders/submitter/ticket_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cg/services/orders/submitter/ticket_handler.py b/cg/services/orders/submitter/ticket_handler.py index 54ff979156..07afde8ace 100644 --- a/cg/services/orders/submitter/ticket_handler.py +++ b/cg/services/orders/submitter/ticket_handler.py @@ -180,6 +180,7 @@ def create_case_xml_sample_list(self, order, message: str) -> str: if not case.is_new: db_case = self.status_db.get_case_by_internal_id(case.internal_id) for sample in db_case.samples: + message += self.NEW_LINE message = self.add_existing_sample_info_to_message( message=message, customer_id=sample.customer.internal_id, @@ -188,6 +189,7 @@ def create_case_xml_sample_list(self, order, message: str) -> str: ) else: for sample in case.samples: + message += self.NEW_LINE if not sample.is_new: message = self.add_existing_sample_info_to_message( message=message,