@ -805,7 +805,6 @@
FROM pmt_orders o
INNER JOIN sys_clients p
ON p.client_id = o.client_id
AND p.is_valid = 1
LEFT JOIN pmt_transactions t
ON t.order_id = o.order_id
AND t.refund_id IS NULL