Current File : /home/tradevaly/public_html/storage/framework/views/ca946f30115d7a340610066265ca3e54e87c7cde.php

<?php $__env->startPush('title'); ?> Categories <?php $__env->stopPush(); ?>
<?php $__env->startSection('css'); ?>
    <!-- DataTables -->
    <link href="<?php echo e(asset('/assets/libs/datatables/datatables.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

    <?php $__env->startComponent('components.breadcrumb'); ?>
        <?php $__env->slot('li_1'); ?> Dashboards <?php $__env->endSlot(); ?>
        <?php $__env->slot('title'); ?> Categories <?php $__env->endSlot(); ?>
    <?php echo $__env->renderComponent(); ?>
    
    
    
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-body">
                    <div class="row mb-2">
                        <div class="col-sm-4"></div>
                        <div class="col-sm-8">
                            <div class="text-sm-start">
                            </div>
                        </div><!-- end col-->
                    </div>

                    <div class="table-responsive">
                        <table id="datatable-buttons" class="table table-bordered dt-responsive nowrap w-100">
                            <thead class="table-light text-center">
                                <tr>
                                  <th class="text-center">#</th>
                                  <th><?php echo e(translate('Image')); ?></th>
                                  <th><?php echo e(translate('Name')); ?></th>
                                  <th><?php echo e(translate('Parent id')); ?></th>
                                  <th><?php echo e(translate('Sub Categories')); ?></th>
                                  <th><?php echo e(translate('Actions')); ?></th>
                                </tr>
                            </thead>
                            <tbody class="text-center">
                               

                            </tbody>
                        </table>
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
    <!-- end row -->
    
    
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
    <!-- Required datatable js -->
    <script src="<?php echo e(asset('/assets/libs/datatables/datatables.min.js')); ?>"></script>
    <script src="<?php echo e(asset('/assets/libs/jszip/jszip.min.js')); ?>"></script>
    <script src="<?php echo e(asset('/assets/libs/pdfmake/pdfmake.min.js')); ?>"></script>
    <!-- Datatable init js -->
     
    <script type="text/javascript">
  $(function () {
    
    
    
    
    $(document).ready(function () {
 
  var table = $('#datatable-buttons').DataTable({
    lengthChange: false,
    processing: true,
    dom: 'Bfrtip',
        serverSide: true,
        ajax: "<?php echo e(route('admin.trash.category.index')); ?>",
        columns: [
            {data: 'DT_RowIndex', name: 'DT_RowIndex'},
            {data: 'pic', name: 'pic'},
            {data: 'name', name: 'name'},
            {data: 'parent', name: 'parent'},
            {data: 'subcat', name: 'subcat'},
            {
                data: 'action', 
                name: 'action', 
                orderable: true, 
                searchable: true
            },
        ],
    buttons: ['copy', 'excel', 'pdf', 'colvis']
  });
  table.buttons().container().appendTo('#datatable-buttons_wrapper .col-md-6:eq(0)');
  $(".dataTables_length select").addClass('form-select form-select-sm');
});
});
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.ayaan.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/backend/pages/category/index_trash.blade.php ENDPATH**/ ?>