<?php if (isset($component)) { $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54 = $attributes; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\AppLayout::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('header', null, []); ?> 
        <div class="flex items-center justify-between">
            <h2 class="font-semibold text-xl text-gray-800">Lab Details</h2>
            <a class="px-4 py-2 border rounded" href="<?php echo e(route('admin.labs.pricing.edit', $lab)); ?>">Manage Pricing</a>
        </div>
     <?php $__env->endSlot(); ?>

    <div class="py-8">
        <div class="max-w-4xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white shadow rounded p-6 space-y-3">
                <div><span class="text-gray-500">Lab ID:</span> <b><?php echo e($lab->id); ?></b></div>
                <div><span class="text-gray-500">Name:</span> <b><?php echo e($lab->name); ?></b></div>
                <div><span class="text-gray-500">Branch:</span> <?php echo e($lab->branch_name ?? '-'); ?></div>
                <div><span class="text-gray-500">Phone:</span> <?php echo e($lab->phone ?? '-'); ?></div>
                <div><span class="text-gray-500">Email:</span> <?php echo e($lab->email ?? '-'); ?></div>
                <div><span class="text-gray-500">Address:</span> <?php echo e($lab->address ?? '-'); ?></div>
                <div><span class="text-gray-500">Status:</span> <?php echo e($lab->is_active ? 'Active' : 'Inactive'); ?></div>

                <?php if($lab->logo_path): ?>
                    <div>
                        <span class="text-gray-500">Logo:</span>
                        <a class="text-indigo-600" target="_blank" href="<?php echo e(asset('storage/'.$lab->logo_path)); ?>">View</a>
                    </div>
                <?php endif; ?>

                <div class="pt-4 flex gap-2">
                    <a href="<?php echo e(route('admin.labs.edit', $lab)); ?>" class="px-4 py-2 bg-blue-600 text-white rounded">Edit</a>
                    <a href="<?php echo e(route('admin.labs.index')); ?>" class="px-4 py-2 border rounded">Back</a>
                </div>
            </div>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $attributes = $__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__attributesOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54)): ?>
<?php $component = $__componentOriginal9ac128a9029c0e4701924bd2d73d7f54; ?>
<?php unset($__componentOriginal9ac128a9029c0e4701924bd2d73d7f54); ?>
<?php endif; ?>
<?php /**PATH C:\wamp64\www\lab-result-portal\resources\views\admin\labs\show.blade.php ENDPATH**/ ?>