feat: add analysis tools and dashboard views for intern data tracking and reporting
This commit is contained in:
@@ -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";
|
||||
Reference in New Issue
Block a user