
<?php $__env->startSection('container'); ?>
<?php $__env->startSection('contact_select', 'active'); ?>
<!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0">Contacts</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item">Contacts</li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
      <?php if(session()->has('msg')): ?>
          <div class="alert alert-success" role="alert">
            <?php echo e(session('msg')); ?>

          </div>
        <?php endif; ?>
        <!-- Small boxes (Stat box) -->
        <div class="row">
        <div class="col-12">


<div class="card">

  <div class="card-body">
    <table id="example1" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th>Sl no</th>
            <th>Name</th>
            <th>Email</th>
            <th>Phone</th>
            <th>DOB</th>
            <th>Budget</th>
            <th>Planning</th>
            <th>Message</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
      <?php $__currentLoopData = $contacts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($list->id); ?></td>
            <td><?php echo e($list->fnm.' '.$list->lnm); ?></td>
            <td><?php echo e($list->email); ?></td>
            <td><?php echo e($list->phone); ?></td>
            <td><?php echo e($list->dob); ?></td>
            <td><?php echo e($list->budget); ?></td>
            <td><?php echo e($list->planning); ?></td>
            <td><?php echo e($list->descr); ?></td>
            <td>
                <a onclick="return cnf()" href="<?php echo e(route('contact_delete')); ?>/<?php echo e($list->id); ?>">
                <i class="fa-regular fa-trash-can" style="color:red;"></i></a>
            </td>
        </tr>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
    </table>
  </div>
  <!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
        </div>
        <!-- /.row -->
        <!-- Main row -->
       
        <!-- /.row (main row) -->
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <?php $__env->stopSection(); ?>
<?php echo $__env->make('backend/layouts/layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Sanjib\Desktop\Tilak\laravel_project\investment\resources\views/backend/contact.blade.php ENDPATH**/ ?>