Initial V2 commit 4

This commit is contained in:
Hamza-Ayed
2026-04-22 23:16:23 +03:00
parent 3269a836a2
commit 3f4afd0f5c
47 changed files with 456 additions and 72 deletions

View File

@@ -11,6 +11,16 @@ use Illuminate\Support\Facades\DB;
* Admin Stats Controller
* Replaces: serviceapp/getRidesStatic.php, getPassengersStatic.php,
* getEmployeeStatic.php, getdriverstotalMonthly.php, getEditorStatsCalls.php
*
* متحكم الإحصائيات (Stats Controller)
*
* الغرض من الملف:
* توليد تقارير وإحصائيات حول أداء المنصة للمسؤولين.
*
* كيفية العمل:
* 1. يحسب إجمالي عدد الرحلات، السائقين النشطين، والركاب.
* 2. يحلل البيانات المالية والنمو الشهري للسائقين.
* 3. يعرض ملخصاً سريعاً (Overview) لمؤشرات الأداء الرئيسية.
*/
class StatsController extends Controller
{