

<?php $__env->startSection('content'); ?>
    <!--begin::App Content Header-->
    <div class="app-content-header"> <!--begin::Container-->
        <div class="container-fluid">
            <!--begin::Row-->
            <div class="row">
                <div class="col-sm-6">
                    <h3 class="mb-0">Worker Information List</h3>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-end">
                        <li class="breadcrumb-item"><a href="<?php echo e(route('admin.dashboard')); ?>">Home</a></li>
                        <li class="breadcrumb-item active">Worker List</li>
                    </ol>
                </div>
            </div>
            <!--end::Row-->
        </div> <!--end::Container-->
    </div>
    <!--end::App Content Header-->

    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="card-header">
                    <h3 class="card-title">Worker List</h3>
                    <div class="text-end">
                        <a href="<?php echo e(route('form48.daily.create')); ?>" class="btn btn-success">Create New Entry</a>
                    </div>
                </div>
                <div class="card-body">
                    <div class="table-responsive">
                        <table class="table table-bordered">
                            <thead>
                                <tr class="text-center" style="vertical-align: middle";>
                                    <th>No</th>
                                    <th>(a) Nama Pekerja</th>
                                    <th>(b) No. IC/Passport</th>
                                    <th>(c) Negara Asal</th>
                                    <th>Actions</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__currentLoopData = $workers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $worker): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($loop->iteration); ?></td>
                                        <td><?php echo e($worker->nama_pekerja); ?></td>
                                        <td><?php echo e($worker->no_ic_passport); ?></td>
                                        <td><?php echo e($worker->negara_asal); ?></td>
                                        <td>
                                            <div class="btn-group">
                                                <a href="<?php echo e(route('form48.daily.show', $worker->id)); ?>"
                                                    class="btn btn-primary">View</a>
                                                <a href="<?php echo e(route('form48.daily.edit', $worker->id)); ?>"
                                                    class="btn btn-warning">Edit</a>
                                            </div>
                                        </td>
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\FMIS_fypsystem\resources\views/form/form_48/index48.blade.php ENDPATH**/ ?>