<?php $__env->startSection('content'); ?>
    <div class="side-title">
        <h3><?php echo e($head ?? ''); ?></h3>
    </div>

    <div class="border-item">
        <form>
            <?php if(count($orders)): ?>
                <table class="table table-hover table-bordered">
                    <thead>
                    <tr>
                        <th scope="col"><?php echo e(__('orders.user')); ?></th>
                        <th scope="col"><?php echo e(__('orders.user_phone')); ?></th>
                        <th scope="col"><?php echo e(__('orders.discount')); ?></th>
                        <th scope="col">تاريخ الاستخدام</th>
                    </tr>
                    </thead>
        
                    <tbody class="response">
                        <?php $__currentLoopData = $orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($row->user->name); ?></td>
                            <td><?php echo e($row->user->phone); ?></td>
                            <td><?php echo e($row->discount); ?></td>
                            <td><?php echo e($row->date); ?></td>
                        </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </tbody>
                </table>
            <?php else: ?>
                <div class="form-group align-content-center col-lg-12">
                    <p class="form-control align-content-center" style="height: auto"><?php echo e(__('coupons.not_found_orders')); ?></p>
                </div>
            <?php endif; ?>
        </form>
    </div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <!-- Editor JS orders -->
    <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>",
            url = "<?php echo e(url('/')); ?>/",
            imagePath = "<?php echo e(asset('')); ?>";
    </script>
    <script src="<?php echo e(asset('assets/admin/js/editor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/lfm.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/made/resources/views/admin/coupons/orders.blade.php ENDPATH**/ ?>