Added category to AccountTransaction
This commit is contained in:
parent
5a2018fd97
commit
79e45f0c02
|
@ -59,6 +59,7 @@ open class AccountTransaction(
|
||||||
val relatedReferenceNumber: String? = null,
|
val relatedReferenceNumber: String? = null,
|
||||||
|
|
||||||
var userSetDisplayName: String? = null,
|
var userSetDisplayName: String? = null,
|
||||||
|
var category: String? = null,
|
||||||
var notes: 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"
|
override fun toString() = "${valueDate.dayOfMonth}.${valueDate.monthNumber}.${valueDate.year} ${amount.toString().padStart(4, ' ')} ${if (currency == "EUR") "€" else currency} ${otherPartyName ?: ""} - $reference"
|
||||||
|
|
Loading…
Reference in New Issue