Added timings and descending submit at time for receipts

This commit is contained in:
Finn 2017-08-31 11:51:22 +01:00
parent 72813ff2a3
commit 4189025c6f
2 changed files with 3 additions and 0 deletions

View file

@ -65,6 +65,7 @@ sub valid_read {
undef, {
page => $c->param('page') || 1,
rows => 10,
order_by => { -desc => 'submitted_at' },
},
);
$c->stash(

View file

@ -42,6 +42,8 @@
<div class="col">From: <%= $transaction->buyer->name %></div>
<div class="col">To: <%= $transaction->seller->name %></div>
<div class="col">Value: <%= $transaction->value %></div>
<div class="col">Submitted At: <%= $transaction->submitted_at %></div>
<div class="col">Purchase Time: <%= $transaction->purchase_time %></div>
</div>
</div>
</li>