<?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/subcat.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 = $Subcat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subcat): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); $__empty_1 = false; ?>
                        <div id="combody" class="effect2">
                            <span id="comboxtitle"><?php echo e($subcat->name); ?></span><br>
                            <span>دسته مادر : </span><span id="comboxtitle"><?php echo e($subcat->cat->name); ?></span><br><br>
                            <div id="<?php echo e($subcat->id); ?>">
                                <button data="<?php echo e($subcat->id); ?>"  class="btn btn-danger delete-subcat">حذف </button>
                                <a href="<?php echo e(url('/panel/subcat/'.$subcat->id)); ?>"  class="btn btn-info ">ویرایش </a>
                                <br><br>
                            </div>
                        </div><!---end combody-->
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); if ($__empty_1): ?>
                    <?php endif; ?>
                </div>
                <?php echo e($Subcat->Links('vendor.pagination.custom')); ?>

            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>