update dashboard

This commit is contained in:
2025-03-06 11:24:03 +07:00
parent 4e3bf6d11e
commit ca2c397c51
5 changed files with 1052 additions and 39 deletions

View File

@@ -27,6 +27,7 @@ use Modules\Internal\Http\Controllers\Api\HospitalController;
use Modules\Internal\Http\Controllers\Api\DoctorController;
use Modules\Internal\Http\Controllers\Api\DoctorRatingController;
use Modules\Internal\Http\Controllers\Api\DoctorOnlineController;
use Modules\Internal\Http\Controllers\Api\DashboardController;
use Modules\Internal\Http\Controllers\Api\DrugController;
use Modules\Internal\Http\Controllers\Api\FormulariumController;
use Modules\Internal\Http\Controllers\Api\FormulariumTemplateController;
@@ -411,6 +412,11 @@ Route::prefix('internal')->group(function () {
// Navigation
Route::get('navigations', [NavigationController::class, 'index']);
// Dashboard
Route::get('dashboard/transaksi', [DashboardController::class, 'index']);
Route::get('dashboard/transaksi-bar-chart', [DashboardController::class, 'listBarChart']);
Route::get('dashboard/list-dokter', [DashboardController::class, 'listDokter']);
Route::get('dashboard/list-performa-dokter', [DashboardController::class, 'listPerformaDokter']);
});
Route::get('province', [ProvinceController::class, 'index']);