Add marker for Hepler_ExpenseBulk.CreateExpenseFromChild to sweep it under the rug

This commit is contained in:
qowevisa 2024-11-28 13:39:43 +02:00
parent 8807235dad
commit f221480b2c

View File

@ -34,6 +34,7 @@ type Helper_ExpenseBulk struct {
UserID uint
}
// {{{ Helper_ExpenseBulk.CreateExpenseFromChild I'm not proud of this code
func (he *Helper_ExpenseBulk) CreateExpenseFromChild(c Expense) *Expense {
var cardID uint
var typeID uint
@ -80,6 +81,8 @@ func (he *Helper_ExpenseBulk) CreateExpenseFromChild(c Expense) *Expense {
}
}
// }}}
// Implements db.UserIdentifiable:1
func (e Expense) GetID() uint {
return e.ID