feat(audit): add comprehensive QA audit report for ClinicPro with findings and recommendations
This commit is contained in:
@@ -197,7 +197,8 @@ class DashboardController extends BaseController
|
||||
|
||||
// میانگین و تعداد امتیاز
|
||||
$ratingRow = $this->em->createQuery('
|
||||
SELECT AVG(r.score) AS avg_score, COUNT(r.id) AS total
|
||||
SELECT AVG((r.waitingTimeAtClinic + r.accuracyOfDiagnosis + r.doctorBehavior + r.clinicCleanliness + r.doctorExpertise) / 5.0) AS avg_score,
|
||||
COUNT(r.id) AS total
|
||||
FROM App\Rating\Entity\Rate r WHERE r.doctor = :doctor
|
||||
')->setParameter('doctor', $doctor)->getOneOrNullResult() ?? [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user