<?php

use App\Modules\Reports\Controllers\ReportController;
use Illuminate\Support\Facades\Route;

Route::middleware(['auth:sanctum', 'tenant', 'feature:reports', 'company.permission:reports.view'])->group(function (): void {
    Route::get('/reports/overview', [ReportController::class, 'overview']);
    Route::get('/reports/sales', [ReportController::class, 'sales']);
    Route::get('/reports/inventory', [ReportController::class, 'inventory']);
    Route::get('/reports/crm', [ReportController::class, 'crm']);
});
