From 12cfa9cab4ae46211ffb593c24e4ae1af2c09fa7 Mon Sep 17 00:00:00 2001 From: Oliver Jakoubek Date: Sun, 28 Jun 2020 20:21:53 +0200 Subject: [PATCH] Add every product reference from Route to Route Info --- route.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/route.go b/route.go index b564f9e..90d88b8 100644 --- a/route.go +++ b/route.go @@ -43,7 +43,9 @@ func (r *Route) GetRouteMessage() string { ri.SetEaAddressDefinition(r.eaAddressDefinition) ri.SetTopsheetTemplateDirectory(r.topsheetTemplateDirectory) ri.SetEditionName(r.editionName) - ri.SetProductReferenceNumber(r.productReferenceNumber) + for _, pr := range r.productReferenceNumbers { + ri.AddProductReferenceNumber(pr) + } info := ri.Message() for _, pd := range r.ProductionDrops {