|
|
@ -210,7 +210,7 @@
|
|
|
|
max(t.transaction_time) transation_time,
|
|
|
|
max(t.transaction_time) transation_time,
|
|
|
|
c.client_moniker client_moniker
|
|
|
|
c.client_moniker client_moniker
|
|
|
|
FROM pmt_transactions t INNER JOIN sys_clients c
|
|
|
|
FROM pmt_transactions t INNER JOIN sys_clients c
|
|
|
|
ON t.client_id = c.client_id AND c.enable_refund_auth = 0
|
|
|
|
ON t.client_id = c.client_id AND c.enable_pre_refund = 1
|
|
|
|
GROUP BY c.client_id) a
|
|
|
|
GROUP BY c.client_id) a
|
|
|
|
WHERE a.amount < 0
|
|
|
|
WHERE a.amount < 0
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|