

<?php $__env->startSection('title', 'dashboard'); ?>


<?php $__env->startSection('content'); ?>
<div class="content-wrapper">
            <!-- Content -->

            <div class="container-xxl flex-grow-1 container-p-y">
              <h4 class="fw-bold py-3 mb-4"><span class="text-muted fw-light">Dashboard /</span> Contacts</h4>

              <div class="row">
                 <div class="col-xl-12 col-lg-12">
				 
						<div class="card shadow mb-4">
                               <div class="card-header py-3">
                                    
									<div class="table-title mb-4">
                <div class="row">
                    <div class="col-sm-5">
                        <h4>User Contact</h4>
                    </div>
                    <div class="col-sm-7 text-end">
                        
                    </div>
                </div>
            </div>
                                </div>
                                <!-- Card Body -->
                                <div class="card-body">
                                    <div class=" pb-2 table-responsive">
									<table class="user-list table table-striped table-hover">
                <thead>
                    <tr>
                        <th>#</th>
                        <th>Name</th>	
                        <th>Company name</th>					
                        <th>Email</th>
                        <th>Phone</th>
                        <th>Address</th>
                        <th>Pincode</th>
                        <th>State</th>
                        <th>City</th>
                        <th>Massege</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                 <?php if(!empty($contact_list)): ?>
                 <?php $__currentLoopData = $contact_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $contact): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($key+1); ?></td>
                            <td><?php echo e($contact->name); ?></td>
                            <td><?php echo e($contact->company_name); ?></td>
                            <td><?php echo e($contact->email); ?></td>
                            <td><?php echo e($contact->phone); ?></td>
                            <td><?php echo e($contact->address); ?></td>
                            <td><?php echo e($contact->pincode); ?></td>
                            <td><?php echo e($contact->state); ?></td>
                            <td><?php echo e($contact->city); ?></td>                      
                            <td><?php echo e($contact->massage); ?></td> 
                            <form action="<?php echo e(route('contact.destroy',$contact->id)); ?>" method="post" enctype="multipart/form-data">  
                              <?php echo csrf_field(); ?>
                              <?php echo method_field('delete'); ?>
                            <td> <button type="submit" class="btn btn-danger sm-3" onclick="return confirm('Are you sure you want to delete this item?');"> <i class="fa fa-trash"></i></button></td>                  
                             </form>                  
                        
                        </tr>
                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                 <?php endif; ?>
                    
                </tbody>
            </table>
			
                            </div>
                        </div>
                        <!-- Area -->
                       

                       
                    </div>
					
					
</div>
              </div>
            </div>
            <!-- / Content -->

            <!-- Footer -->
            <footer class="content-footer footer bg-footer-theme">
              <div class="container-xxl d-flex flex-wrap justify-content-between py-2 flex-md-row flex-column">
                <div class="mb-2 mb-md-0">
                  © 2022
                </div>
                
              </div>
            </footer>
            <!-- / Footer -->
          </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/603031.cloudwaysapps.com/pvusfnxuud/public_html/suymedia/resources/views/admin/contact-details.blade.php ENDPATH**/ ?>