 <?php $__env->startSection('title','Intern Portal'); ?> <?php $__env->startSection('content'); ?><p class="text-sm font-semibold text-violet-600">DEDICATED INTERN PORTAL</p><h1 class="text-3xl font-black"><?php echo e(auth()->user()->name); ?></h1><p class="mt-1 text-slate-500">Mentorship, learning goals, assigned project work and stipend visibility are separated from employee payroll.</p><div class="mt-6 grid gap-4 lg:grid-cols-3"><div class="card p-5"><p class="text-sm text-slate-500">Mentor</p><p class="mt-2 font-bold"><?php echo e(optional(\App\Models\User::find($intern?->mentor_user_id))->name ?? 'Not assigned'); ?></p></div><div class="card p-5"><p class="text-sm text-slate-500">Internship ends</p><p class="mt-2 font-bold"><?php echo e(optional($intern?->end_date)->format('d M Y') ?? 'Open-ended'); ?></p></div><div class="card p-5"><p class="text-sm text-slate-500">Stipend</p><p class="mt-2 text-2xl font-black">PKR <?php echo e(number_format((float)($intern?->stipend_amount ?? 0))); ?></p></div></div><div class="mt-6 card p-6"><h2 class="font-bold">Learning goals</h2><p class="mt-2 text-sm text-slate-600"><?php echo e($intern?->learning_goals ?: 'No learning goals assigned yet.'); ?></p></div><div class="mt-6 card overflow-hidden"><div class="border-b p-5 font-bold">Assigned work</div><?php $__empty_1 = true; $__currentLoopData = $tasks; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $task): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?><div class="flex items-center justify-between border-b px-5 py-4 last:border-0"><p class="font-semibold"><?php echo e($task->title); ?></p><span class="badge"><?php echo e($task->status); ?></span></div><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?><div class="p-5 text-sm text-slate-500">No assigned tasks.</div><?php endif; ?></div><?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/macbook/Desktop/crm/softsuite-cms/resources/views/portal/intern.blade.php ENDPATH**/ ?>