<?php echo $__env->make('Admin.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<br>
<br>
<br>






<div class="main-content" style="overflow: hidden;">
            <!--page title start-->
            <div class="page-title" style="float: left;">
                <h4 class="mb-0">View zone
                    <small></small>
                </h4>
              
            </div>
            <div class="page-title" style="float: right; ">
                <a href="<?php echo e(url('deliveryzone')); ?>" class="btn btn-outline-success">Add zone</a> 
                 <a href="<?php echo e(url('/Admin-dashboard')); ?>" class="btn btn-danger">X</a>
            </div>
            <!--page title end-->


            <div class="container" style="overflow-x: scroll;">

                <!-- state start-->
                <div class="row">
                    <div class=" col-sm-12">
                        <div class="mb-4">
                   
                            <div class="card-body">
                                <table id="example" class="display nowrap" style="width:100%">
                                    <thead>
                                    <tr>
                                        <th>SL</th>
                                        <th>Zone Name</th>
                                        <th>Action</th>
                                    </tr>
                                    </thead>
                                    <tfoot>
                                    <tr>
                                        <th>SL</th>
                                        <th>Zone Name </th>
                                        <th>Action</th>
                                    </tr>
                                    </tfoot>
                                    <tbody>
                                        <?php
                                        $sl=1;
                                        ?>
                                        <?php if(isset($data)): ?>
                                        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $showdata): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                      <tr id="tr-<?php echo e($showdata->id); ?>">
                                        <td><?php echo e($sl++); ?></td>
                                        <td><?php echo e($showdata->zone_name); ?></td>
                                       
                                       
                                        <td>
                                            <a href="<?php echo e(url('zoneedit',$showdata->id)); ?>" class="btn btn-outline-primary">Edit</a>
                                            <form method="POST" action="<?php echo e(url('zonedestroy',$showdata->id)); ?>">
                                                <?php echo csrf_field(); ?>
                                               
                                                <button type="submit" class="btn btn-outline-danger" onclick="return confirm('Are you sure delete your offer?')">delete</button> 
                                            </form>
                                            
                                        </td>
                                    </tr>
                                         <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                         <?php endif; ?>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>


                <!-- state end-->

            </div>
        </div>

<?php echo $__env->make('Admin.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<script type="text/javascript">

  
</script><?php /**PATH /home2/hpecmqif/public_html/resources/views/Admin/Deliverycharge/Zone/index.blade.php ENDPATH**/ ?>