<?php $__env->startSection('content'); ?>
    <div class="card">
        <div class="card-body">
            
            <div class="float-right my-2">
                <a href="<?php echo e(route('sms-gateway.create')); ?>" class="btn btn-primary pull-right">Add SMS Gateway</a>
            </div>
            <div class="table-responsive">
                <table id="dataTable" class="display table table-sm">
                    <thead class="bg-gray-50">
                        <tr>
                            <th scope="col">
                                Name
                            </th>
                            <th scope="col">
                                API Key
                            </th>
                            <th scope="col">
                                Sender
                            </th>
                            <th scope="col">
                                Url
                            </th>
                            <th scope="col">
                                Balance Url
                            </th>
                            <th scope="col">
                                Status
                            </th>

                            <th scope="col">
                                Action
                            </th>
                        </tr>
                    </thead>
                    <tbody>

                        <?php $__currentLoopData = $gateway; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>
                                <td>
                                    <?php echo e($item->username); ?>

                                </td>
                                <td>
                                    <?php echo e($item->apikey); ?>

                                </td>
                                <td>
                                    <?php echo e($item->sender); ?>

                                </td>
                                <td>
                                    <?php echo e($item->url); ?>

                                </td>
                                <td>
                                    <?php echo e($item->balance_url); ?>

                                </td>
                                <td>
                                    <?php echo e($item->status); ?>

                                </td>

                                <td>
                                    <a href="<?php echo e(route('sms-gateway.edit', $item->id)); ?>"
                                        class="btn btn-primary pull-right">Edit</a>
                                </td>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        <!-- More items... -->
                    </tbody>
                </table>
            </div>
        </div>
        <div class="card-footer">
            <?php echo e($gateway->links()); ?>


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

<?php echo $__env->make('layout.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/spacewalker/radius-circle/resources/views/sms/index.blade.php ENDPATH**/ ?>