mirror of
https://github.com/grassrootseconomics/farmstar-survey-backend.git
synced 2024-12-12 11:16:10 +01:00
parent
630abf1a99
commit
cc21913568
@ -73,10 +73,11 @@ func (r *HooksContainer) bootstrapTransactionHook() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
msg := fmt.Sprintf(
|
msg := fmt.Sprintf(
|
||||||
"New purchase survey completed:\n\ninitiator: %s\ncounterparty: %s\nquantity: %d\nfeedback: %s",
|
"New purchase survey completed:\n\ninitiator: %s\ncounterparty: %s\nquantity: %d\ndate: %s\nfeedback: %s",
|
||||||
fmt.Sprintf("%s (%s)", initiatorRecord.GetString("name"), initiatorRecord.GetString("participant_type")),
|
fmt.Sprintf("%s (%s)", initiatorRecord.GetString("name"), initiatorRecord.GetString("participant_type")),
|
||||||
fmt.Sprintf("%s (%s)", counterpartyRecord.GetString("name"), counterpartyRecord.GetString("participant_type")),
|
fmt.Sprintf("%s (%s)", counterpartyRecord.GetString("name"), counterpartyRecord.GetString("participant_type")),
|
||||||
transactionRecord.GetInt("evergrow_quantity"),
|
transactionRecord.GetInt("evergrow_quantity"),
|
||||||
|
transactionRecord.GetDateTime("tx_date").String(),
|
||||||
transactionRecord.GetString("feedback"),
|
transactionRecord.GetString("feedback"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user