From 0d02c8b855e056c1824c656f9bf4ae311ea24b41 Mon Sep 17 00:00:00 2001 From: o-psi Date: Mon, 16 Oct 2023 22:49:59 -0500 Subject: [PATCH] adjust clients to filter out leads --- clients.php | 1 + 1 file changed, 1 insertion(+) diff --git a/clients.php b/clients.php index 9d7546e3..30743879 100644 --- a/clients.php +++ b/clients.php @@ -25,6 +25,7 @@ $sql = mysqli_query( OR tags.tag_name LIKE '%$q%' OR clients.client_tax_id_number LIKE '%$q%') AND clients.client_archived_at IS NULL AND DATE(clients.client_created_at) BETWEEN '$dtf' AND '$dtt' + AND clients.client_lead = 0 GROUP BY clients.client_id ORDER BY $sort $order LIMIT $record_from, $record_to