Merge pull request #40 from Pear-Trading/finn/ReceiptListImprove

Added timings and descending submit at time for receipts
This commit is contained in:
Finn 2017-08-31 13:06:31 +01:00 committed by GitHub
commit db63b5b3cf
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>