fixing TXFee display and filter

This commit is contained in:
Sebastian Grewe 2013-07-23 12:01:45 +02:00
parent fb24ad81ae
commit 24a277312c
2 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Transaction {
case 'status': case 'status':
switch ($value) { switch ($value) {
case 'Confirmed': case 'Confirmed':
if (empty($filter['type']) || ($filter['type'] != 'Credit_PPS' && $filter['type'] != 'Fee_PPS' && $filter['type'] != 'Donation_PPS')) { if (empty($filter['type']) || ($filter['type'] != 'TXFee' && $filter['type'] != 'Credit_PPS' && $filter['type'] != 'Fee_PPS' && $filter['type'] != 'Donation_PPS')) {
$aFilter[] = "b.confirmations >= " . $this->config['confirmations']; $aFilter[] = "b.confirmations >= " . $this->config['confirmations'];
} }
break; break;

View File

@ -77,6 +77,7 @@
$TRANSACTIONS[transaction].type == 'Donation_PPS' OR $TRANSACTIONS[transaction].type == 'Donation_PPS' OR
$TRANSACTIONS[transaction].type == 'Debit_MP' OR $TRANSACTIONS[transaction].type == 'Debit_MP' OR
$TRANSACTIONS[transaction].type == 'Debit_AP' OR $TRANSACTIONS[transaction].type == 'Debit_AP' OR
$TRANSACTIONS[transaction].type == 'TXFee' OR
$TRANSACTIONS[transaction].confirmations >= $GLOBAL.confirmations $TRANSACTIONS[transaction].confirmations >= $GLOBAL.confirmations
}<font color="green">Confirmed</font> }<font color="green">Confirmed</font>
{else if $TRANSACTIONS[transaction].confirmations == -1}<font color="red">Orphaned</font> {else if $TRANSACTIONS[transaction].confirmations == -1}<font color="red">Orphaned</font>