<?php

namespace App\Http\Controllers\KpiAdmin;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class KpiAdminEditReport extends Controller
{
    public function index(Request $request)
    {
        // Check if create parameter is passed
        if ($request->has('create')) {
            return view('content.kpiAdmin.kpiAdmin-create-report');
        }
        
        // Default view (your main edit report page)
        return view('content.kpiAdmin.kpiAdmin-edit-report');
    }
}