mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
create transaction from subscription
This commit is contained in:
@@ -45,5 +45,6 @@ func (cm *Subscription) ToTrans() *Transaction {
|
||||
trans.TransactionTypeID = cm.TransactionTypeID
|
||||
trans.TransactionType = cm.TransactionType
|
||||
trans.DateCreated = cm.DateCreated
|
||||
trans.SubscriptionID = cm.Id
|
||||
return trans
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user