Added viewing transactions from organisation and user list view
This commit is contained in:
parent
60e6b2717e
commit
42e1642344
2 changed files with 18 additions and 14 deletions
|
@ -71,13 +71,15 @@
|
||||||
% for my $transaction ( $transactions->all ) {
|
% for my $transaction ( $transactions->all ) {
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row text-center">
|
<a href="<%= url_for '/admin/transactions/' . $transaction->id %>" class="list-group-item list-group-item-action">
|
||||||
<div class="col">From: <%= $transaction->buyer->name %></div>
|
<div class="row text-center">
|
||||||
<div class="col">To: <%= $transaction->seller->name %></div>
|
<div class="col">From: <%= $transaction->buyer->name %></div>
|
||||||
<div class="col">Value: <%= $transaction->value %></div>
|
<div class="col">To: <%= $transaction->seller->name %></div>
|
||||||
<div class="col">Submitted At: <%= $transaction->submitted_at %></div>
|
<div class="col">Value: <%= $transaction->value %></div>
|
||||||
<div class="col">Purchase Time: <%= $transaction->purchase_time %></div>
|
<div class="col">Submitted At: <%= $transaction->submitted_at %></div>
|
||||||
</div>
|
<div class="col">Purchase Time: <%= $transaction->purchase_time %></div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
% }
|
% }
|
||||||
|
|
|
@ -94,13 +94,15 @@
|
||||||
% for my $transaction ( $transactions->all ) {
|
% for my $transaction ( $transactions->all ) {
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row text-center">
|
<a href="<%= url_for '/admin/transactions/' . $transaction->id %>" class="list-group-item list-group-item-action">
|
||||||
<div class="col">From: <%= $transaction->buyer->name %></div>
|
<div class="row text-center">
|
||||||
<div class="col">To: <%= $transaction->seller->name %></div>
|
<div class="col">From: <%= $transaction->buyer->name %></div>
|
||||||
<div class="col">Value: <%= $transaction->value %></div>
|
<div class="col">To: <%= $transaction->seller->name %></div>
|
||||||
<div class="col">Submitted At: <%= $transaction->submitted_at %></div>
|
<div class="col">Value: <%= $transaction->value %></div>
|
||||||
<div class="col">Purchase Time: <%= $transaction->purchase_time %></div>
|
<div class="col">Submitted At: <%= $transaction->submitted_at %></div>
|
||||||
</div>
|
<div class="col">Purchase Time: <%= $transaction->purchase_time %></div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
% }
|
% }
|
||||||
|
|
Reference in a new issue