mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-30 07:10:35 +00:00
payments: show failed payout users in the table
this admin view is made to show owed balances...
This commit is contained in:
parent
75969e2d0b
commit
01964f7ff9
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
|||
<?php
|
||||
|
||||
$list = getdbolist('db_accounts', "coinid!=6 and (balance or last_login>UNIX_TIMESTAMP()-60*60) order by last_login desc limit 50");
|
||||
// PS: account last_login is not related to user logins... its the last backend payment loop, todo: rename it..
|
||||
|
||||
$list = getdbolist('db_accounts', "coinid!=6 AND (".
|
||||
"balance > 0 OR last_login > (UNIX_TIMESTAMP()-60*60) OR id IN (SELECT DISTINCT account_id FROM payouts WHERE tx IS NULL)".
|
||||
") ORDER BY last_login DESC limit 50");
|
||||
|
||||
JavascriptFile("/yaamp/ui/js/jquery.metadata.js");
|
||||
JavascriptFile("/yaamp/ui/js/jquery.tablesorter.widgets.js");
|
||||
|
|
Loading…
Add table
Reference in a new issue