24 lines
517 B
Plaintext
24 lines
517 B
Plaintext
|
extends ../layout/base.pug
|
||
|
|
||
|
block headline
|
||
|
h1 Transactions
|
||
|
|
||
|
block content
|
||
|
form(action="/tansactions",method="POST")
|
||
|
|
||
|
|
||
|
table
|
||
|
thead
|
||
|
th ID
|
||
|
th Date
|
||
|
th Description
|
||
|
th Account
|
||
|
th Amount
|
||
|
tbody
|
||
|
each transaction in transactions
|
||
|
tr
|
||
|
td=transaction.TransactionID
|
||
|
td=transaction.Date
|
||
|
td=transaction.Description
|
||
|
td=transaction.Account.Name
|
||
|
td(class=`${transaction.Type} amount` )=transaction.Amount
|