removed cancled refunded jobs

This commit is contained in:
CHIEFSOFT\ameye
2023-12-11 18:45:22 -05:00
parent 31ced9ac8a
commit dcbb99fda3
+1 -1
View File
@@ -391,7 +391,7 @@ long WrenchJobManagerActiveTasksList(CVars in, CVars &out) {
" LEFT JOIN members m ON m.id=mc.client_id "
" LEFT JOIN members_family mf ON mf.family_member_id = mc.client_id "
" LEFT JOIN currency c ON c.country=mj.country "
" WHERE mc.member_id =%lu %s %s %s "
" WHERE mc.member_id =%lu %s %s %s AND mc.refund_date IS NULL AND mc.status <> 7 "
" ORDER BY mc.id DESC LIMIT %lu OFFSET %lu", member_id, member_id ,extra_filter, status_no_filter, status_filter, limit, offset);
//ORDER BY id DESC LIMIT %lu OFFSET %lu", in["member_id"].Long(), limit, offset);
if (res != NULL && pgsql_num_rows(res) > 0) {