


<?php $__env->startSection('title'); ?>
Packages List
<?php $__env->stopSection(); ?>

    <?php $__env->startSection('breadcrumb'); ?>
    <ol class="breadcrumb pull-right">
        <li><a href="<?php echo e(route('home')); ?>"><i class="fa fa-dashboard"></i> Home</a></li>
        <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'list-inventory')): ?>
            <li class="active"> All Package List</li>
        <?php endif; ?>
    </ol>
    <?php $__env->stopSection(); ?>

        <?php $__env->startSection('content'); ?>
        <!-- .container-fluid -->
        <div class="container-fluid">
            <!-- /row -->
            <div class="row">
                <div class="col-sm-12">
                    <div class="white-box">
                        <div class="pull-right">
                            <a href="<?php echo e(route('packge.create')); ?>" class="btn  btn-primary">
                                <i class="fa fa-plus-square"></i>&nbsp; Add New Package
                            </a>                         
                        </div>
                        <h3 class="box-title">All Packages List</h3>

                        <div class="table-responsive">
                            <table id="myTable" class="table table-striped">
                                <thead>
                                    <tr>
                                        <th>#</th>
                                        <th>Package Name</th>
                                        <th>Action</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <?php $count = 1; ?>
                                    


                                    <?php $__currentLoopData = $allpackagelist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pkg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($count++); ?></td>
                                        <td><?php echo e($pkg->name); ?></td>
                                    

                                        <td class="text-nowrap">

                                           
                                                <a href="<?php echo e(route('packge.detail',['id'=>$pkg->id])); ?>" data-toggle="tooltip" data-original-title="View"> <i class="fa fa-eye text-inverse m-r-10"></i>&nbsp;&nbsp;</a>
                                            
                                            
                                            
                                                <!-- <a href="<?php echo e(route('packge.index', [$pkg->id])); ?>" data-toggle="tooltip"
                                                    datza-original-title="Edit"> <i
                                                        class="fa fa-pencil text-inverse m-r-10"></i></a> -->
                                            

                                            
                                                <form action="<?php echo e(route('packge.delete', [$pkg->id])); ?>" method="post"
                                                    style='display: inline;'>
                                                    <?php echo method_field('delete'); ?>

                                                    <?php echo csrf_field(); ?>



                                                    <button class="btn btn-link btn-s" style="color:red;" type="submit"
                                                        name="action" value="delete" data-toggle="confirmation"
                                                        data-title="Are you sure to delete?">
                                                        <i class="fa fa-trash-o" aria-hidden="true"></i>
                                                    </button>
                                                </form>
                                        </td> 
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <!-- /.row -->
                        </div>
                        <!-- ./container-fluid -->
                        <?php $__env->stopSection(); ?>

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

                            <script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/jquery.inputmask.bundle.js">
                            </script>

                            <script></script>
                            <?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/proje372/akram-city.projecterp.net/resources/views/package/index.blade.php ENDPATH**/ ?>