Added timings and descending submit at time for receipts
This commit is contained in:
parent
72813ff2a3
commit
4189025c6f
2 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,7 @@ sub valid_read {
|
|||
undef, {
|
||||
page => $c->param('page') || 1,
|
||||
rows => 10,
|
||||
order_by => { -desc => 'submitted_at' },
|
||||
},
|
||||
);
|
||||
$c->stash(
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue