<?php $__env->startSection('head'); ?>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
    <script src="<?php echo e(asset('assets/js/jss/order.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('title', 'سفارشات'); ?>
<?php $__env->startSection('main'); ?>
    <div class="container site-content">
        <div class="col-md-12">
            <div class="container-fluid" style="border-top: 1px solid #fff; border-bottom: 1px solid #fff; background-color:#f6f9fa;;">
                <div style="direction: rtl;text-align: right" class="">
                    <br>
                    <h4 class="title">سفارشات</h4>
                    <?php $__empty_1 = true; $__currentLoopData = $Order; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); $__empty_1 = false; ?>
                        <div id="combody" class="effect2">
                            <span id="comboxtitle"><?php echo e($order->address); ?></span><br><br>
                            <?php $ar = explode(',',$order->products);
                                foreach($ar as $a)
                                    {
                                        $product =\App\Models\Product::find($a);
                            ?>
                            <br><span  id="commtext"><?php echo e($product->title); ?></span> , 
                            <?php } ?>
                            <div id="<?php echo e($order->id); ?>">
                                <?php if($order->status == 0): ?>
                                    <button data="<?php echo e($order->id); ?>"  class="btn btn-success submit-order">تایید پست محصول</button>
                                <?php endif; ?>
                            </div>
                        </div><!---end combody-->
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); if ($__empty_1): ?>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>