<?php 
    $cart = Session::get('cart');
?>
<div class="row col-sm-12">
<?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php $status = 0; ?>
<div class="col-xs-12 col-sm-3 col-md-2 bg pos-item">
    <div class="thumbnail">
        <div class="caption">
            <h5><?php echo e($item->item_house); ?></h5>
            <p><strong>Price: </strong> <?php echo e($item->item_price); ?>$</p>
            <?php if(Auth::user()->block_permission==1): ?>
                <p class="btn-holder"><a href="#" data-id="<?php echo e($item->id); ?>" class="btn btn-warning btn-block text-center btn-add-to-cart" role="button">Move To Cart</a> </p>
                <p class="btn-holder"><a href="#" data-id="<?php echo e($item->id); ?>" class="btn btn-block button_primary text-center btn-unblock-item" role="button">Unblock Item</a> </p>
            <?php endif; ?>
        </div>
    </div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php echo $data->render(); ?>

<style>
    .thumbnail {
        display: block;
        padding: 0px !important;
        margin-bottom: 15px !important;
        line-height: 1.42857143;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        -webkit-transition: border .2s ease-in-out;
        -o-transition: border .2s ease-in-out;
        transition: border .2s ease-in-out;
    }
    .h4, .h5, .h6, h4, h5, h6 {
        margin-top: 0px !important;
        margin-bottom: 10px;
    }
</style>