kor TürkçeGitHub

Statement

Lists account transactions by day.

kor/ui/StatementSource

When to use

  • Use it for accounts, cards and petty cash.

Examples

Account

Loading the example

<k:Statement currency="TRY" balance="{/balance}" items="{path: '/rows', templateShareable: false}"><k:Transaction title="{t}" text="{x}" date="{d}" amount="{a}" category="{c}" state="{s}"/></k:Statement>

API

Properties

NameTypeDefaultDescription
currencystringCurrency
labelstringAccessible name
balanceanynullCurrent balance. When set, each day's closing balance is shown
filterstringallall, in or out

Aggregations

NameTypeDescription
itemsTransaction[]Transactions, newest first

Events

NameTypeDescription
presskey: stringA transaction was pressed

Transaction

An account transaction.

Properties

NameTypeDefaultDescription
keystringKey
titlestringCounterparty
textstringDescription
dateanyDay
amountany0Amount. Outgoing is negative
categorystringmarket, fuel, food, travel, salary, transfer, bill, phone, health, education, rent, cash, saving, fee or store
iconstringReplaces the category icon
personstringPerson. Shows an avatar instead of the icon
statestringStatus. danger means cancelled and is left out of totals
statusTextstringStatus text

Related

BankCardDataGrid