{{ transaction.recipient.name }}
@switch (transaction.status) {
@case ('cancelled') {
Cancelled · {{ transaction.createdAt }}
}
@case ('approved') {
Sent by
@if (transaction.recipient.id === transaction.sender.id) {
you
} @else {
{{ transaction.sender.name }}
}
· {{ transaction.createdAt }}
}
}