From 7cae614e370a7d2307cf01c9cf0e7b10103712d0 Mon Sep 17 00:00:00 2001 From: deepvasoya Date: Wed, 21 May 2025 11:55:25 +0530 Subject: [PATCH] refactor: added clinics counts filter --- services/clinicServices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/clinicServices.py b/services/clinicServices.py index 0ea6d5a..1ef6c6b 100644 --- a/services/clinicServices.py +++ b/services/clinicServices.py @@ -50,7 +50,7 @@ class ClinicServices: SELECT COUNT(*) as total, COUNT(CASE WHEN status = 'ACTIVE' THEN 1 END) as active, - COUNT(CASE WHEN status = 'REJECTED' THEN 1 END) as rejected + COUNT(CASE WHEN status = 'REJECTED' OR status = 'UNDER_REVIEW' OR status = 'PAYMENT_DUE' OR status = 'REQUESTED_DOC' THEN 1 END) as rejected FROM clinics """)