
<?php $__env->startSection('content'); ?>
  
<!-- Content Wrapper. Contains page content -->
  
  <div class="content-wrapper">
    
  <!-- Content Header (Page header) -->
    
    <section class="content-header">

      <div class="container-fluid">

          <div class="row mb-2">
          
            <div class="col-sm-6">
          
            <h1> <a href="AddChannelSourcer"> Add Channel Sourcer </a> </h1>
          
              <?php if(Session::has('Status')): ?>
          
              <span class = "alert alert-success">
             <?php echo e(Session::get('Status')); ?> 
              </span>
          
              <?php endif; ?>

            </div>

            <div class="col-sm-6">
          
              <ol class="breadcrumb float-sm-right">
            
                <li class="breadcrumb-item"> <a href="#">Home</a> </li>
              
                <li class="breadcrumb-item active">Channel Sourcer</li>
          
              </ol>
          
          </div>

        </div>

      </div>
    
      <!-- /.container-fluid -->

    </section>
    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-md-12">
            <div class="card">
              <div class="card-header">
                <h3 class="card-title">View Channel Sourcer</h3>
              </div>
              <!-- /.card-header -->
              <div class="card-body">
              <table id="example" class="table table-striped table-bordered" style="width:100%">
                    <thead>
                    <tr>

                        <th> No</th>
                        <th>Name</th>
                        <th>Mobile</th>
                        <th>Email</th>
                        <th>Location</th>
                        <th>DOB</th>
                        <th>Join Date</th>
                        <th>Job Role</th>
                        <th>  Commssion</th>
                        <th>Action</th>
                    </tr>
                    </thead>
                    <tbody>
                    
                              <?php
                             $i=1
                            
                              ?>
                              <?php $__currentLoopData = $channel_sourcer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cl): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <tr>
                        <td><?php echo e($i++); ?></td>
                        <td><?php echo e($cl->name); ?></td>
                        <td><?php echo e($cl->Mobile); ?></td>
                        <td><?php echo e($cl->Email); ?></td>
                        <td><?php echo e($cl->location); ?></td>
                        <td><?php echo e($cl->dob); ?></td>
                        <td><?php echo e($cl->joining_Date); ?></td>
                       
                        <td><?php echo e($cl->job_roll); ?></td>
                        <td> <a href="AddCommissionMaster/<?php echo e($cl->id); ?>"><i class="fa fa-eye"></i> </a></td>
      <td>
        <a href="/editChannelSourcer/<?php echo e($cl->id); ?>">Edit</a>
      
      <form action = "/deleteChannelSourcer/<?php echo e($cl->id); ?>" method = "POST"> 
          <?php echo csrf_field(); ?>
          <?php echo method_field('delete'); ?>
          <input type="submit" class = "btn btn-danger"  value="Delete" >
      </form>

      </td>

      </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>              
           
                  </tbody>
                
                </table>
              
              </div>
              <!-- /.card-body --> 
            </div>
            
            <!-- /.card -->
            
            <!-- /.card -->
          
          </div>
          
          <!-- /.col -->        
          
          <!-- /.col -->
        </div>
        <!-- /.row -->
        <!-- /.row -->
        <!-- /.row -->
        <!-- /.row -->
        <!-- /.row -->
      </div><!-- /.container-fluid -->
    </section>
    <!-- /.content -->
  </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\newpro\htdocs\laravel_ecommerce\resources\views/layouts/ChannelSourcer.blade.php ENDPATH**/ ?>