<div class="zar-table mt-3">
    <strong class="mb-2">اطلاعات کارکنان:</strong>
    <table>
        <thead>
            <tr>
                <th>ردیف</th>
                <th>نقش</th>
                <th>نام کارمند</th>
                <th>وزن</th>
            </tr>
        </thead>
        <tbody>
            <?php if($UserRequests->isNotEmpty()): ?>
            <?php $__currentLoopData = $UserRequests; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $Info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td data-label="ردیف"><?php echo e($loop->iteration); ?></td>
                <td data-label="نقش">
                    <?php switch($Info->role):
                    case ('transporter'): ?>
                    راننده
                    <?php break; ?>
                    <?php case ('chief_worker'): ?>
                    سرتیم
                    <?php break; ?>
                    <?php case ('worker'): ?>
                    کارگر
                    <?php break; ?>
                    <?php endswitch; ?>
                </td>
                <td data-label="نام کارمند"><?php echo e($Info->first_name); ?> <?php echo e($Info->last_name); ?></td>
                <td data-label="وزن">
                    <?php if($Info->info != null): ?>
                    <?php echo e($Info->info['weight']); ?>

                    <?php else: ?>
                    -
                    <?php endif; ?>
                </td>
            </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php else: ?>
            <tr>
                <td colspan="8" class="noinfotable">کارمندی یافت نشد</td>
            </tr>
            <?php endif; ?>

        </tbody>
    </table>
</div>


<?php /**PATH /home1/zarborji/public_html/resources/views/Distributor/info/step.blade.php ENDPATH**/ ?>