[ADDED] RPC txid to Transaction lists

This commit is contained in:
Sebastian Grewe 2013-11-28 11:52:15 +01:00
parent 551b42aacf
commit 1ffcba8b51
3 changed files with 21 additions and 16 deletions

View File

@ -112,6 +112,7 @@ class Transaction extends Base {
t.amount AS amount,
t.coin_address AS coin_address,
t.timestamp AS timestamp,
t.txid AS txid,
b.height AS height,
b.blockhash AS blockhash,
b.confirmations AS confirmations

View File

@ -68,14 +68,15 @@
<table cellspacing="0" class="tablesorter" width="100%">
<thead>
<tr>
<th align="center">TX #</th>
<th >Account</th>
<th >Date</th>
<th >TX Type</th>
<th align="center">ID</th>
<th>Account</th>
<th>Date</th>
<th>TX Type</th>
<th align="center">Status</th>
<th >Payment Address</th>
<th >Block #</th>
<th >Amount</th>
<th>Payment Address</th>
<th>TX #</th>
<th>Block #</th>
<th>Amount</th>
</tr>
</thead>
<tbody style="font-size:12px;">
@ -97,7 +98,8 @@
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span>
{else}<span class="unconfirmed">Unconfirmed</span>{/if}
</td>
<td>{$TRANSACTIONS[transaction].coin_address}</td>
<td>{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</td>
<td>{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</td>
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.PHP_SELF}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{$TRANSACTIONS[transaction].height}</a>{/if}</td>
<td><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td>
</tr>

View File

@ -75,14 +75,15 @@
<table cellspacing="0" class="tablesorter" width="100%">
<thead>
<tr>
<th align="center">TX #</th>
<th >Account</th>
<th >Date</th>
<th >TX Type</th>
<th align="center">ID</th>
<th>Account</th>
<th>Date</th>
<th>TX Type</th>
<th align="center">Status</th>
<th >Payment Address</th>
<th >Block #</th>
<th >Amount</th>
<th>Payment Address</th>
<th>TX #</th>
<th>Block #</th>
<th>Amount</th>
</tr>
</thead>
<tbody style="font-size:12px;">
@ -104,7 +105,8 @@
{else if $TRANSACTIONS[transaction].confirmations == -1}<span class="orphan">Orphaned</span>
{else}<span class="unconfirmed">Unconfirmed</span>{/if}
</td>
<td>{$TRANSACTIONS[transaction].coin_address}</td>
<td>{$TRANSACTIONS[transaction].coin_address|truncate:20:"...":true:true}</td>
<td>{$TRANSACTIONS[transaction].txid|truncate:20:"...":true:true}</td>
<td>{if $TRANSACTIONS[transaction].height == 0}n/a{else}<a href="{$smarty.server.PHP_SELF}?page=statistics&action=round&height={$TRANSACTIONS[transaction].height}">{/if}{$TRANSACTIONS[transaction].height}</a></td>
<td><font color="{if $TRANSACTIONS[transaction].type == 'Credit' or $TRANSACTIONS[transaction].type == 'Credit_PPS' or $TRANSACTIONS[transaction].type == 'Bonus'}green{else}red{/if}">{$TRANSACTIONS[transaction].amount|number_format:"8"}</td>
</tr>