1
0
mirror of synced 2024-11-22 04:26:01 +03:00

Send comment field from delivery if it present

This commit is contained in:
Pavel 2019-07-16 09:22:26 +03:00
parent f781582c00
commit 88c051fd15

View File

@ -864,6 +864,10 @@ func getOrderMessage(dataOrder *v1.MessageDataOrder) string {
mb += ";\n" + replaceMarkdownSymbols(dataOrder.Delivery.Address) mb += ";\n" + replaceMarkdownSymbols(dataOrder.Delivery.Address)
} }
if dataOrder.Delivery.Comment != "" {
mb += ";\n" + replaceMarkdownSymbols(dataOrder.Delivery.Comment)
}
mb += "\n" mb += "\n"
} }