<ul class="list-product">
    <?php if(@$stock_item && count($stock_item) > 0): ?>
        <?php $__currentLoopData = $stock_item; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php
                $my_p = getProductById($row->product_id);
                $id             = $row ? $row->id : "";
                $product_name   = $my_p ? $my_p->product_name : "";
                $barcode        = $row ? $row->barcode : "";
                $color = findColor($row->color_code);
                $size = findSize($row->size_code);
                $unit = findUnit($my_p->unit_id)->unit??'';
            ?>
                <li class="listings cursor" title="<?php echo e($product_name); ?> (Size:<?php echo e($size?$size->size:''); ?> , Color:<?php echo e($color?$color->name:''); ?>)"
                    data-name="<?php echo e($product_name); ?>"
                    data-stock="<?php echo e($row->total_stock); ?>"
                    data-code="<?php echo e($barcode); ?>"
                    data-product_id="<?php echo e($row->product_id); ?>"
                    data-color="<?php echo e($color?$color->name:''); ?>"
                    data-size="<?php echo e($size?$size->size:''); ?>"
                    data-unit="<?php echo e($unit); ?>"
                    style="border: 1px solid rgb(51, 122, 183)">
                    <div class="bg-img" style="
                            background: url(<?php echo e(findImg($my_p)); ?>);
                            height: 13vh;
                            width: 100%;
                            background-position: center;
                            background-size: cover;
                            background-repeat: no-repeat;
                            ">
                       <span style="
                                background: #337ab7;
                                font-weight: 100;
                                border-radius: 0 0 4px 0;
                                position: absolute;
                    " class="label text-left"><?php echo e($row?$row->total_stock:0); ?> <?php echo e($unit); ?> ក្នុងស្តុក</span>
                    </div>
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center" style="
                                   padding: 0px;
                                   background: #337ab7;
                                   color: white;
                                   ">
                        <span style="font-size: 12px"><?php echo e($barcode); ?> <br> <?php echo e(str_limit($product_name,15)); ?> (<?php echo e($size?$size->size:''); ?> , <?php echo e($color?$color->name:''); ?>)</span>
                    </div>
                </li>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
</ul>
<div class="col-sm-12 col-xs-12">
    <div class="pagin">
        <?php if(@$stock_item): ?>
            <?php echo $stock_item->render(); ?>

        <?php endif; ?>
    </div>
</div>
<?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/stock-inventory/item-request/result-create.blade.php ENDPATH**/ ?>