Skip to content

Commit

Permalink
Fix order messages
Browse files Browse the repository at this point in the history
  • Loading branch information
islean committed Jan 23, 2025
1 parent 46aa83f commit 2216359
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cg/services/orders/submitter/ticket_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 2216359

Please sign in to comment.