<?php $__env->startSection('content'); ?>
<div class="row mb-3">
    <div class="col-md-6">
        <h2>Detail Karyawan</h2>
    </div>
    <div class="col-md-6 text-end">
        <a href="<?php echo e(route('karyawans.index')); ?>" class="btn btn-secondary">Kembali</a>
    </div>
</div>

<div class="card">
    <div class="card-body">
        <div class="row">
            <div class="col-md-4 text-center mb-3">
                <?php if($karyawan->foto): ?>
                    <img src="<?php echo e(asset('storage/' . $karyawan->foto)); ?>" alt="Foto Karyawan" class="img-fluid img-thumbnail" style="max-width: 300px;">
                <?php else: ?>
                    <div class="bg-light d-flex align-items-center justify-content-center img-thumbnail mx-auto" style="width: 300px; height: 300px;">
                        <span class="text-muted">Tidak Ada Foto</span>
                    </div>
                <?php endif; ?>
            </div>
            <div class="col-md-8">
                <table class="table table-borderless">
                    <tr>
                        <th width="150">NRP</th>
                        <td width="10">:</td>
                        <td><?php echo e($karyawan->nrp); ?></td>
                    </tr>
                    <tr>
                        <th>Nama</th>
                        <td>:</td>
                        <td><?php echo e($karyawan->nama); ?></td>
                    </tr>
                    <tr>
                        <th>Jabatan</th>
                        <td>:</td>
                        <td><?php echo e($karyawan->jabatan); ?></td>
                    </tr>
                    <tr>
                        <th>Departemen</th>
                        <td>:</td>
                        <td><?php echo e($karyawan->departemen); ?></td>
                    </tr>
                    <tr>
                        <th>Plant</th>
                        <td>:</td>
                        <td><?php echo e($karyawan->plant); ?></td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\gl-asuh\resources\views/menu/karyawans/show.blade.php ENDPATH**/ ?>