<?php $__env->startSection('title','Members'); ?>
<?php echo $__env->make('layouts.datatable', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->startSection('content'); ?>
<div class="row">
    <div class="col-lg-12">
        <div class="tile">
            <div class="tile-title-w-btn">
                <h3 class="title"><i class="bi bi-list-ul"></i> <?php echo e(__('lang.members')); ?></h3>
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('members.create')): ?>
                <a href="<?php echo e(route('members.create')); ?>" class="btn btn-primary" title="<?php echo e(__('lang.new_member')); ?>">
                    <i class='bi bi-plus'></i>
                </a>
                <?php endif; ?>
            </div>
            <div class="tile-body">
                <div class="table-responsive">
                    <table class="table table-bordered" id="my-table">
                        <thead class="table-primary">
                            <tr>
                                <th>#</th>
                                <th><?php echo e(__('lang.name')); ?></th>
                                <th><?php echo e(__('lang.email')); ?></th>
                                <th><?php echo e(__('lang.phone')); ?></th>
                                <th><?php echo e(__('lang.address')); ?></th>
                                <th><?php echo e(__('lang.action')); ?></th>
                            </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('scripts'); ?>

<script type="text/javascript">
    new DataTable('#my-table', {
        processing: true,
        serverSide: true,
        "ordering": false,
        ajax: {
            url: '<?php echo e(route('members.dataTable')); ?>',
        },
        columns: [
            { data: 'id', name: 'id' },
            { data: 'name', name: 'name' },
            { data: 'email', name: 'email' },
            { data: 'phone', name: 'phone' },
            { data: 'address', name: 'address' },
            { data: 'action', name: 'action', searchable: false }
        ],
    });

</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\Laravel\library\resources\views/member/index.blade.php ENDPATH**/ ?>