HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/owlcrm/storage/framework/views/c81784b592c4ab5666af12cb43bed56d.php
<?php $__env->startSection('title', 'OWL CRM Dashboard'); ?>
<?php $__env->startSection('content_header'); ?>
    <h1>Permission</h1>
    <small>Manage permission</small>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="card card-dark">
        <div class="card-header">
            <h3 class="card-title"></h3>
            <div class="card-tools">
                <a href="<?php echo e(route('permissions.create')); ?>" class="btn btn-dark"><i class="fas fa-plus"></i> Add
                    Permissions</a>
            </div>
        </div>

        <div class="card-body">
            <?php if(session('success')): ?>
                <h6 class="alert alert-success">
                    <?php echo e(session('success')); ?>

                </h6>
            <?php endif; ?>
            <form  id="search-form" role="form">

                <div class="form-group">
                    <label for="search">Search</label>
                    <?php if (isset($component)) { $__componentOriginale5d826ae10df3aa87f8449f474c11664 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale5d826ae10df3aa87f8449f474c11664 = $attributes; } ?>
<?php $component = JeroenNoten\LaravelAdminLte\View\Components\Form\Input::resolve(['id' => 'search_keyword','name' => 'search_keyword'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('adminlte-input'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(JeroenNoten\LaravelAdminLte\View\Components\Form\Input::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'form-control','placeholder' => 'Enter Name']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale5d826ae10df3aa87f8449f474c11664)): ?>
<?php $attributes = $__attributesOriginale5d826ae10df3aa87f8449f474c11664; ?>
<?php unset($__attributesOriginale5d826ae10df3aa87f8449f474c11664); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale5d826ae10df3aa87f8449f474c11664)): ?>
<?php $component = $__componentOriginale5d826ae10df3aa87f8449f474c11664; ?>
<?php unset($__componentOriginale5d826ae10df3aa87f8449f474c11664); ?>
<?php endif; ?>

                </div>

            </form>
            <table class="table table-bordered yajra-datatable">
                <thead>
                    <tr>

                        <th>Name</th>
                        <th>key</th>
                        <th>description</th>
                        <th>Module</th>
                        <th>Created By</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>

    <script type="text/javascript">
        $(function() {

            var dataTable = $('.yajra-datatable').DataTable({
                processing: true,
                serverSide: true,
                pageLength: 10,
                searching: false,
                'ajax': {
                    'url': "<?php echo e(route('permissions.index')); ?>",
                    'data': function(data) {
                        // Read values
                        var search_keyword = $('#search_keyword').val();
                        var shop_filter = $('#shop_filter option:selected').val();
                        var status_filter = $('#status_filter option:selected').val();


                        // Append to data
                        data.search_keyword = search_keyword;
                        data.shop_filter = shop_filter;
                        data.status_filter = status_filter;

                    }
                },
                columns: [
                    /*{data: 'checkbox', name: 'checkbox', orderable: false, searchable: false},*/
                    /*  {data: 'id', name: 'ID'},  */
                    {
                        data: 'title',
                        name: 'title'
                    },
                    {
                        data: 'key',
                        name: 'key'
                    },
                    {
                        data: 'description',
                        name: 'description'
                    },
                    {
                        data: 'module',
                        name: 'module'
                    },
                    {
                        data: 'created_by',
                        name: 'created_by'
                    },

                    {
                        data: 'action',
                        name: 'action',

                    },
                ]
            });

            $('#search_keyword').keyup(function() {
                dataTable.draw();
            });
            $('#shop_filter').on('change', function() {
                dataTable.draw();
            });

        });
    </script>
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('adminlte::page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/owlcrm/resources/views/users/permissions/index.blade.php ENDPATH**/ ?>