ReportManager Class
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
session_start();
|
||||
require '../../../assets/utils/db_auth.php';
|
||||
require '../../../assets/utils/classes/Reports.php';
|
||||
require '../../../assets/utils/classes/ReportManager.php';
|
||||
|
||||
$month = $data['month'] ?? date('Y-m');
|
||||
$report = new Reports($pdo2, $company_id);
|
||||
$report = new ReportManager($pdo2, $company_id);
|
||||
|
||||
$stats = $report->getDashboardStats($month);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user