<div class="zar-table mt-3">
    <table>
        <thead>
            <tr>
                <th>ردیف</th>
                <th>نام سرتیم</th>
                <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 echo e($Info->first_name); ?> <?php echo e($Info->last_name); ?></td>
                <td data-label="وزن"><?php echo e($Info->info['weight']); ?></td>
                <td data-label="وضعیت"><?php echo e($Info->info['action']); ?></td>
                <td data-label="تاریخ اتمام">
                    <?php if($Info->info['ispast']): ?>
                        <span class="text-danger"><?php echo e($Info->info['enddate']); ?></span>
                    <?php else: ?>
                        <?php echo e($Info->info['enddate']); ?>

                    <?php endif; ?>
                </td>
                <td data-label="عملیات">
                    <a href="<?php echo e(route('factory.reciever.info',['id' => $Info->id])); ?>" class="btn btn-primary">مشاهده درخواست</a>
                </td>
            </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php else: ?>
            <tr>
                <td colspan="7" class="noinfotable">درخواستی یافت نشد</td>
            </tr>
            <?php endif; ?>

        </tbody>
    </table>
</div>
<div class="mt-3">
    <?php echo e($UserRequests->links()); ?>

</div><?php /**PATH /home1/zarborji/public_html/resources/views/factoryReceiver/list/current.blade.php ENDPATH**/ ?>