

<?php $__env->startSection('content'); ?>
<div class="container mt-4">
    <h2 class="mb-4">Result Details</h2>

    <div class="card">
        <div class="card-body">
            <p><strong>Registration Number:</strong> <?php echo e($result->registration_number); ?></p>
            <p><strong>Course Code:</strong> <?php echo e($result->course_code); ?></p>
            <p><strong>Mark:</strong> <?php echo e($result->mark); ?></p>
            <p><strong>Grade:</strong> <?php echo e($result->grade ?? 'N/A'); ?></p>
            <p><strong>Decision:</strong> <?php echo e($result->decision ?? 'N/A'); ?></p>
        </div>
    </div>

    <div class="mt-3">
        <a href="<?php echo e(route('admin.results.edit', $result->id)); ?>" class="btn btn-primary">Edit</a>
        <a href="<?php echo e(route('admin.results.index')); ?>" class="btn btn-secondary">Back</a>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\studentportal\resources\views/admin/results/show.blade.php ENDPATH**/ ?>