Merge pull request #77 from Neur0toxine/master
Send comment field from delivery if it present
This commit is contained in:
commit
aed2c049a0
@ -864,6 +864,10 @@ func getOrderMessage(dataOrder *v1.MessageDataOrder) string {
|
||||
mb += ";\n" + replaceMarkdownSymbols(dataOrder.Delivery.Address)
|
||||
}
|
||||
|
||||
if dataOrder.Delivery.Comment != "" {
|
||||
mb += ";\n" + replaceMarkdownSymbols(dataOrder.Delivery.Comment)
|
||||
}
|
||||
|
||||
mb += "\n"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user