Added category to AccountTransaction

This commit is contained in:
dankito 2024-08-27 23:13:29 +02:00
parent 5a2018fd97
commit 79e45f0c02
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ open class AccountTransaction(
val relatedReferenceNumber: String? = null,
var userSetDisplayName: String? = null,
var category: String? = null,
var notes: String? = null,
) {
override fun toString() = "${valueDate.dayOfMonth}.${valueDate.monthNumber}.${valueDate.year} ${amount.toString().padStart(4, ' ')} ${if (currency == "EUR") "€" else currency} ${otherPartyName ?: ""} - $reference"