This commit is contained in:
parent
1328310dbd
commit
80f7641bef
@ -93,6 +93,7 @@ func (c *Client) createTodayYNABCapitalGainsTransaction(accountID string, amount
|
|||||||
transaction.Transaction.Cleared = "cleared"
|
transaction.Transaction.Cleared = "cleared"
|
||||||
transaction.Transaction.Approved = true
|
transaction.Transaction.Approved = true
|
||||||
transaction.Transaction.PayeeName = "Capital Gains or Losses"
|
transaction.Transaction.PayeeName = "Capital Gains or Losses"
|
||||||
|
transaction.Transaction.Memo = fmt.Sprintf("Quoted at: %s", time.Now().Format("2006-01-02 15:04:05"))
|
||||||
|
|
||||||
response := &Transaction{}
|
response := &Transaction{}
|
||||||
|
|
||||||
@ -113,6 +114,7 @@ func (c *Client) updateTodayYNABCapitalGainsTransaction(accountID string, transa
|
|||||||
transaction.Transaction.Cleared = "cleared"
|
transaction.Transaction.Cleared = "cleared"
|
||||||
transaction.Transaction.Approved = true
|
transaction.Transaction.Approved = true
|
||||||
transaction.Transaction.PayeeName = "Capital Gains or Losses"
|
transaction.Transaction.PayeeName = "Capital Gains or Losses"
|
||||||
|
transaction.Transaction.Memo = fmt.Sprintf("Quoted at: %s", time.Now().Format("2006-01-02 15:04:05"))
|
||||||
|
|
||||||
response := &Transaction{}
|
response := &Transaction{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user