[ADDED] TX-DB-ID for payout validation

This commit is contained in:
Sebastian Grewe 2014-02-18 14:09:09 +01:00
parent cf8a10d9b0
commit 900e3751d7

View File

@ -54,8 +54,8 @@ $found=0;
$notfound=0;
// Output mask and header
$mask = "| %-15.15s | %-34.34s | %20.20s | %10.10s | %-64.64s |" . PHP_EOL;
printf($mask, 'Username', 'Address', 'Amount', 'Status', 'TXID');
$mask = "| %15.15s | %-15.15s | %-34.34s | %20.20s | %10.10s | %-64.64s |" . PHP_EOL;
printf($mask, 'TX-DB-ID', 'Username', 'Address', 'Amount', 'Status', 'TX-RPC-ID');
// Loop through our DB records
foreach ($aAllDebitTxs as $aDebitTx) {
@ -77,7 +77,7 @@ foreach ($aAllDebitTxs as $aDebitTx) {
}
}
if (!$bFound) $status = 'MISSING';
printf($mask, $aDebitTx['username'], $aDebitTx['coin_address'], $aDebitTx['amount'], $status, $txid);
printf($mask, $aDebitTx['id'], $aDebitTx['username'], $aDebitTx['coin_address'], $aDebitTx['amount'], $status, $txid);
}
// Small summary