feat: add analysis tools and dashboard views for intern data tracking and reporting

This commit is contained in:
Ümit Tunç
2026-08-31 12:57:06 +03:00
parent 3b0d2664e4
commit f1a579c8ee
15 changed files with 4793 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
require __DIR__ . '/../vendor/autoload.php';
$app = require_once __DIR__ . '/../bootstrap/app.php';
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
$controller = new \App\Http\Controllers\CareerController();
$request = \Illuminate\Http\Request::create('/stajyer/defteri-yazdir?size=a4', 'GET');
session(['intern_id' => 18]);
$response = $controller->printJournal($request);
echo "PrintJournal direct call returned view: " . $response->name() . "\n";
echo "View data intern name: " . $response->getData()['intern']->name . "\n";
echo "View data days count: " . count($response->getData()['days']) . "\n";
echo "View data savedEntries count: " . count($response->getData()['savedEntries']) . "\n";