        
        <?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>Add New Leads</h1>
            
                  </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">Add New Leads</li>
            
                    </ol>
            
                  </div>
                </div>
              </div>
              
              <!-- /.container-fluid -->
             
             </section>
             
     
     <?php if(session('status')): ?>
     
     <div class="alert alert-success">
     
        <?php echo e(session('status')); ?>

     
     </div>
     
     <?php endif; ?>
     
     <section class="content">
        
        <div class="container-fluid">
        
        <div class="row">
          
        <!-- left column -->
          
          <div class="col-md-12">
            
            <!-- jquery validation -->
            
            <div class="card card-primary">
            
              <div class="card-header">
        
                <h3 class="card-title">Add New Leads </h3>
        
              </div>
           
              <form id= " quickForm " action = "saveAddnewLeads" method = "POST" >
            
                    <?php echo csrf_field(); ?>
            
                    <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>" />
                    
                    <input type="hidden" name="type" value="manual" />
            
            <div class  = "row">
            
             <div class="col-6">
                 
            <label for  = "exampleInputPassword1">Customer Name</label>
                 
            <input type =  "text" name  = "CustomerName" class  = "form-control"
                      id = "CustomerName" placeholder  = "Customer Name" required>
            </div>
                      
                      <div class="col-6">
                        <label for  = "exampleInputPassword1">Organization Name</label>
                                    <input type =  "text" name  = "OrganizationName" class  = "form-control"
                                    id = "mobile" placeholder  = "Enter OrganizationName" required>
                        </div>
                        
                        <div class = "col-6">
                              <label for = "exampleInputPassword1">Home Location</label>
                              <input type = "text" name = "home_Location" class = "form-control"
                              id = "eml" placeholder = "Enter Home Location" required>
                        </div> 
                        
                    <div class="col-6">
                        <label for  = "exampleInputPassword1">Industry Type</label>
                        
                        <select type="text" name="industry_type" class="form-control" id="LoanProduct" required>
                        
                              <option value =  ""  >Select Industry</option>
                        
                              <?php $__currentLoopData = $industrytypeArray; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        
                              <option value =  "<?php echo e($value['name']); ?>"  > <?php echo e($value['name']); ?> </option>
                        
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                        </select>    
                        
                        </div>
                        
                      <div class = "col-6">
                      
                         <label for = "exampleInputPassword1">Case Start Date</label>
                      
                         <input type = "" name = "case_start_date" class="form-control"
                         id = "eml" value = "<?php echo date('d-m-Y')?>" required disabled>    
                
                      </div>
                      
                      <div class = "col-6">
                          
                            <label for = "exampleInputPassword1">Next Followup Date</label>
                            <input type = "text" name = "nextFollowupDate" class="form-control"
                            id = "nextFollowupDate" placeholder = "Enter Next Followup Date" required autocomplete="off">   
                            
                      </div>
                      
                    <div class="col-6">
                  
                        <label for="exampleInputEmail1">Loan Product</label>
                  
                      <select type="text" name="LoanProduct" class="form-control" id="LoanProduct" required>
                  
                            <option value =  ""  >Select Product</option>
                  
                             <?php $__currentLoopData = $loanProDataArray; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  
                            <option value =  "<?php echo e($value['id']); ?>"  > <?php echo e($value['name']); ?> </option>
                  
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  
                        </select>    
                  
                  </div>
                       
                        <div class="col-6">
                              
                              <label for = "exampleInputPassword1">Applied Bank Name</label>
                              
                              <select type="text" name="BankName" class="form-control" id="appliedBank" required onchange="return getProduct(this.value)">
                              
                                <option value =  ""  >Select Bank</option>
                              
                                <?php $__currentLoopData = $AppliedBank; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                              
                                    <option value =  "<?php echo e($value['id']); ?>"  > <?php echo e($value['bank_name']); ?> </option>
                              
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                              
                              </select>
                        
                        </div>
                  
                        
                      <div class = "col-6" >
                      
                      <label for = "exampleInputPassword1"> Apply Loan Amt </label>
                            <input type  = "text" name = "apply_loanAmt" class = "form-control"
                            id = "eml" placeholder = "Enter Apply Loan Amount" required>      
                      </div>

                      <div class = "col-6" >
                      <label for = "exampleInputPassword1">Tenure Month </label>
                            <input type  = "text" name = "tenureMonth" class = "form-control"
                            id = "eml" placeholder = "Enter Tenure Month" >      
                      </div>
                        
                        <div class="col-6">
                            
                              <label for="exampleInputPassword1">Email Id</label>
                              <input type="email" name = "EMailId" class="form-control"
                               id="eml" placeholder = "Enter Email Id" required>  
                        </div>
                        
                        <div class="col-6">
                        
                        <label for = "exampleInputPassword1">Phone Number</label>
                        
                        <input type = "text" name = "PhoneNumber" class = "form-control"
                        id = "eml" placeholder = "Enter Phone Number" required maxlength="10" maxlength="10"  >    
                        </div>
                        
                      <div class = "col-6" >
                      
                           <label for = "exampleInputPassword1"> EMI CC Obligation</label>
                            <input type  = "text" name = "emi_cc" class = "form-control"
                            id = "eml" placeholder = "Enter EMI CC Obligation" required>      
                      </div>
                      
                       <div class="col-6">
                           
                        <label for="exampleInputPassword1">Net Salary</label>
                        <input type  = "text" name = "net_salary" class = "form-control"
                         id="eml" placeholder = "Enter Net Salary" required>      
                       </div>
                      
                       <div class="col-6">
                              
                              <label for="exampleInputEmail1">Loan Status</label>
                              <select type="text" name="status" class="form-control" id="status" required>
                                    <option value =  ""  >Select Status</option>
                                    <?php $__currentLoopData = $loanstatus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value =  "<?php echo e($value['name']); ?>"  > <?php echo e($value['name']); ?> </option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                              </select>    
                        </div>
                        
                        <?php //print_r($DSAchannel); die();?>
                        
                      <div class="col-6">
                          
                      <label for="exampleInputEmail1">Channel Source</label>
                      
                      <select type="text" name="ChannelSource" class="form-control" id="LoanProduct" required>
                          
                      <option value =  ""  >Select Channel Sourcer</option>
                      
                          <?php $__currentLoopData = $alldataSource; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          
                              <option value =  "<?php echo e($value['name']); ?>"  > <?php echo e($value['name']); ?> </option>
                              
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                              
                        </select>    
                        
                  </div>
                      
                      
                      <div class = "col-6" >
                      <label for = "exampleInputPassword1"> </label>
                    <br>
                            <input type  = "submit" name = "submit" class = "btn btn-primary"
                            id = "eml" required>      
                      </div>


                      
                  </div>
               
              </form>
            
            </div>

            <!-- /.card -->
            
          </div>
          
          <!--/.col (left) -->
          <!-- right column -->
          
          <div class="col-md-6">

          </div>
          
          <!--/.col (right) -->
        
        </div>
       
        <!-- /.row -->
     
      </div><!-- /.container-fluid -->
    
    </section>
    
    <!-- /.content -->
  
  
  </div>
  
  <!-- /.content-wrapper -->
  
  <?php $__env->stopSection(); ?>



<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/bankbriz/public_html/crm/resources/views/layouts/addNewLeads.blade.php ENDPATH**/ ?>