<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class FeedbackController extends Controller
{
    public function index()
    {
        return view('feedback.index');
    }

    public function show($id)
    {
        return view('feedback.show', ['feedbackId' => $id]);
    }

    public function store(Request $request)
    {
        return redirect()->back()->with('success', 'Feedback submitted (stub).');
    }

    public function destroy($id)
    {
        return redirect()->back()->with('success', 'Feedback removed (stub).');
    }

    public function respond($id)
    {
        return redirect()->back()->with('success', 'Feedback response recorded (stub).');
    }

    public function resolve($id)
    {
        return redirect()->back()->with('success', 'Feedback marked resolved (stub).');
    }

    public function reports()
    {
        return view('feedback.reports');
    }

    public function export()
    {
        return view('feedback.export');
    }
}
