27 lines
859 B
PHP
27 lines
859 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Student;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\Http\Request;
|
|
use App\Models\RiwayatRekomendasi;
|
|
|
|
class RecommendationController extends Controller
|
|
{
|
|
// Menampilkan halaman form terpadu (Kuesioner + Nilai)
|
|
public function prediction()
|
|
{
|
|
return view('student.prediksi');
|
|
}
|
|
|
|
// Menampilkan halaman hasil khusus berdasarkan ID
|
|
public function result($id)
|
|
{
|
|
$riwayat = RiwayatRekomendasi::findOrFail($id);
|
|
|
|
// Informasi Prospek Kerja berdasarkan hasil (Bisa kamu sesuaikan teksnya)
|
|
$prospekKerja = "Prospek karier untuk jurusan ini sangat luas, mulai dari spesialis industri, konsultan ahli, hingga pegawai instansi pemerintah/BUMN di sektor terkait.";
|
|
|
|
return view('student.hasil', compact('riwayat', 'prospekKerja'));
|
|
}
|
|
} |