WordPress

Coming Soon

revealability

File "3abf6f4a4365549fd1d2cdcf12a6da6ca863ccad.php"

Full Path: /home/karnava/public_html/center.karnavati.in/storage/framework/views/3abf6f4a4365549fd1d2cdcf12a6da6ca863ccad.php
File size: 26.91 KB
MIME-type: text/html
Charset: utf-8

 	
<?php $__env->startSection('title','View Details'); ?>
<?php $__env->startSection('main_container'); ?>
<div class="main-panel">        
        <div class="content-wrapper">
          <div class="page-header">
            <h3 class="page-title">
            All Information 
            </h3>
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="#">Home</a></li>
                <li class="breadcrumb-item active" aria-current="page">Learner Registration</li>
                </ol>
            </nav>
          </div>
          
          <div class="row">
            <div class="col-12 grid-margin">
                <div class="card row">
                  <div class="card-body">
                    <h4 class="card-title"></h4>
                        <div class="wizard2">
                            <div class="step">
                                <ul role="tablist">
                                    <li  role="tab"><a href="#" type="button" class="btn btn-primary btn-fw"  id = "tabs1" onclick = "showTab(1,4)">Application Form</a></li>
                                    <li  role="tab"><a href="#" type="button" class="btn btn-primary btn-fw"  id = "tabs2" onclick = "showTab(2,4)">Documents</a></li>
                                    <li  role="tab"><a href="#" type="button" class="btn btn-primary btn-fw"  id = "tabs3" onclick = "showTab(3,4)">Comments</a></li>
                                    <li  role="tab"><a href="#" type="button" class="btn btn-primary btn-fw"  id = "tabs4" onclick = "showTab(4,4)">Payments</a></li>
                                </ul>
                            </div><br>
                            <div id="tabs-1" class="formabc">
                              <div class="table-responsive">
                                <table class="table table-striped">

                                    <thead>

                                        <tr>

                                            <th>No.</th>
                                            <th>NAME OF DIRECTOR</th>
                                            <th>Actions</th>

                                            
                                        </tr>

                                    </thead>
                                        
                                    <tbody>
                                    <?php if(!$form_list_arr ->isEmpty()): ?>
                                      <?php $__currentLoopData = $form_list_arr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                  <th scope="row"><?php echo $data->id?></th>
                                  <td><?php echo $data->organisation_name?></td>
                                  <td class="text-left">
                                    <div class="actions">
                                     
                                      <?php
                                          $abc = DB::table('organization_details')
                                          ->where('customer_id','=',$data->customer_id)->first();


                                        if($abc->customer_id==$data->customer_id)
                                        {
                                          
                                      ?> 
                                      <a href="<?php echo e(route('application_form.view', $data->form_id)); ?>" class="btn btn-primary  btn-sm" >Application Form</a>
                                      <?php
                                        }
                                      ?>
                                      
                                      <?php
                                          $doc = DB::table('payments')->where('form_id','=',$data->form_id)->where('status','=','Approve')->first();

                                        if($doc)
                                       {
                                          
                                      ?>
                                      <a href="<?php echo e(route('Inspection.create', $data->form_id)); ?>" class="btn btn-primary  btn-sm" >Inspection</a>
                                      <?php
                                        }
                                      ?>

                                      <!-- <a  href="javascript:void(0)" data-delete_url=""   class="btnDelete btn btn-sm bg-danger-light">

                                        <i class="fa fa-trash" style="font-size: 2em;"></i> 

                                      </a> -->
                                    </div>
                                  </td>
                                  <td>
                                  <button type="button" class="btn btn-sm btn-primary btn-icon-text" style="margin-top:10px;" data-toggle="collapse" data-target="#<?php echo $data->id?>"> Comments</button>

                                    <div id="<?php echo $data->id?>" class="panel-collapse collapse">
                                      <div class="container">
                                        <form action="<?php echo e(route('comment.store', $data->id)); ?>" method="post">
                                          <?php echo csrf_field(); ?>
                                          <input type="hidden" class="form-control" id="exampleInputUsername1" name="form_id" value="<?php echo $data->form_id?>">
                                          <input type="hidden" class="form-control" id="exampleInputUsername1" name="customer_id" value="<?php echo $data->customer_id?>">
                                            <div class="form-group">
                                              <label>Comment <span style="color:red">*</span></label>
                                              <input type="text" class="form-control" id="exampleInputUsername1" name="ad_comment" value="<?php echo $data->comment?>">
                                              <?php if($errors->has('ad_comment')): ?>	
                                              <span class="text-danger" ><?php echo e(($errors->first('ad_comment'))); ?></span>
                                              <?php endif; ?>
                                            </div>
                                            
                                          <button  class="btn-primary btn-xs" name="submit" value="Send">Submit</button>
                                        </form>
                                      </div>
                                    </div>
                                    <button type="button" style="margin-top:10px;" data-toggle="collapse" data-target="#<?php echo $data->form_id?>"> <i class="fa fa-plus" aria-hidden="true"></i></button>
                                    <div id="<?php echo $data->form_id?>" class="panel-collapse collapse">
                                      <div class="table-responsive">
                                        <table class="table table-striped">

                                            <thead>

                                                <tr>

                                                    <th>No.</th>
                                                    <th>Comment</th>
                                                    <th>Reply</th>
                                                    <th>Actions</th>

                                                    
                                                </tr>

                                            </thead>
                                                
                                            <tbody>
                                            <?php
                                                $doc = DB::table('application_comments')->where('form_id','=',$data->form_id)->get();

                                              foreach($doc as $comment)
                                              {
                                                
                                            ?>
                                             
                                          <tr>
                                            <th scope="row"><?php echo $comment->id?></th>
                                            <td><?php echo $comment->ad_comment?></td>
                                            <td><?php echo $comment->center_reply?></td>
                                            <td class="text-left">
                                              <div class="actions">
                                              
                                              
                                                
                                              

                                                <a  href="javascript:void(0)" data-delete_url=""   class="btnDel btn btn-sm bg-danger-light">

                                                  <i class="fa fa-trash" style="font-size: 2em;"></i> 

                                                </a>
                                              </div>
                                            </td>
                                          
                                          </tr>
                                         
                                          <?php
                                            }
                                          ?>
                                                  

                                            </tbody>
                                        </table>
                                      </div>
                                    </div>
                                  </td>
                                  </tr>
                                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                  <?php else: ?>
                                    <p class="text-danger mt-2" style="padding-left:450px;">No Data Available</p>
                                  <?php endif; ?>
                                          

                                    </tbody>
                                </table>
                              </div>
                                    
                                    <!-- <a href="#"  class="btn btn-primary btn-fw float-right" onclick = "showTab(2,2)">Next</a> -->
                                <br>
                            </div>
                            <div id="tabs-2" class="formabc" style="display: none">
                                
                              <div class="table-responsive">
                              <table class="table table-striped">

                                  <thead>

                                    <tr>

                                      <th>No.</th>

                                      <th>Document Type </th>

                                      <th>Document </th>

                                      <th>Status </th>

                                      <!-- <th>Actions</th> -->

                                      

                                    </tr>

                                  </thead>

                                  <tbody>

                                  <?php if(!$document_arr ->isEmpty()): ?>

                                            <?php $__currentLoopData = $document_arr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data2): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                      <tr>

                                        <th scope="row"><?php echo $data2->id?></th>

                                        <td><?php echo $data2->types_name?></td>

                                        <td><a href="<?php echo e(URL::asset('public/Admin/upload/document').'/'.$data2->document); ?>" target="_blank">view document</a></td>

                                        <td>
                                        <button type="button" class="btn btn-sm btn-primary btn-icon-text" style="margin-top:10px;" data-toggle="collapse" data-target="#<?php echo $data2->id?>"> Status</button>

                                        <div id="<?php echo $data2->id?>" class="panel-collapse collapse">
                                          <div class="container">
                                            <form action="<?php echo e(route('document.status', $data2->id)); ?>" method="post">
                                              <?php echo csrf_field(); ?>

                                                <div class="form-group">
                                                  <label >Status <span style="color:red">*</span></label>
                                                  <select  class="form-control" name="status">
                                                    <option value="">Select Status</option>
                                                    <?php
                                                      if($data2->status=='Approved')
                                                      {
                                                      ?>
                                                    <option value="Approved" selected>Approved </option>
                                                    <option value="Under review" >Under review </option>
                                                    <option value="Action required" >Action required</option>
                                                    <option value="Not approved" >Not approved</option>
                                                    <option value="Discontinued" >Discontinued</option>
                                                    <?php
                                                      }
                                                      elseif($data2->status=='Under review')
                                                      {
                                                    ?>
                                                    <option value="Under review" selected>Under review </option>
                                                    <option value="Approved" >Approved </option>
                                                    <option value="Action required" >Action required</option>
                                                    <option value="Not approved" >Not approved</option>
                                                    <option value="Discontinued" >Discontinued</option>
                                                    <?php
                                                      }
                                                      elseif($data2->status=='Action required')
                                                      {
                                                    ?>
                                                    <option value="Action required" selected>Action required </option>
                                                    <option value="Approved" >Approved </option>
                                                    <option value="Under review" >Under review </option>
                                                    <option value="Not approved" >Not approved</option>
                                                    <option value="Discontinued" >Discontinued</option>
                                                    <?php
                                                      }
                                                      elseif($data2->status=='Not approved')
                                                      {
                                                    ?>
                                                    <option value="Not approved" selected>Not approved</option>
                                                    <option value="Approved" >Approved </option>
                                                    <option value="Under review" >Under review </option>
                                                    <option value="Action required" >Action required</option>
                                                    <option value="Discontinued" >Discontinued</option>
                                                    <?php
                                                      }
                                                      else
                                                      {
                                                    ?>
                                                    <option value="Discontinued" selected>Discontinued</option>
                                                    <option value="Approved" >Approved </option>
                                                    <option value="Under review" >Under review </option>
                                                    <option value="Action required" >Action required</option>
                                                    <option value="Not approved" >Not approved</option>
                                                    <?php
                                                      }
                                                    ?>
                                                  </select>
                                                  <?php if($errors->has('status')): ?>	
                                                  <span class="text-danger" ><?php echo e(($errors->first('status'))); ?></span>
                                                  <?php endif; ?>
                                                </div>
                                                <div class="form-group">
                                                  <label>Comment <span style="color:red">*</span></label>
                                                  <input type="text" class="form-control" id="exampleInputUsername1" name="comment" value="<?php echo $data2->comment?>">
                                                  <?php if($errors->has('comment')): ?>	
                                                  <span class="text-danger" ><?php echo e(($errors->first('comment'))); ?></span>
                                                  <?php endif; ?>
                                                </div>
                                                
                                              <button  class="btn-primary btn-xs" name="submit" value="Send">Submit</button>
                                            </form>
                                          </div>
                                        </div>

                                      </td>

                                        <td class="text-left">

                                          <div class="actions">

                                          

                                          <!-- <a  href="javascript:void(0)" data-delete_url=""   class="btnDel btn btn-sm bg-danger-light">



                                              <i class="fa fa-trash" style="font-size: 2em;"></i> 



                                            </a> -->

                                          </div>

                                        </td>

                                        

                                        </tr>

                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                        <?php else: ?>
                                          <p class="text-danger mt-2" style="padding-left:450px;">No Data Available</p>
                                        <?php endif; ?>
                                        
                                                

                                    

                                  </tbody>

                                  </table>
                              </div>
                                
                                    <!-- <button type="submit" class="btn btn-primary btn-fw float-right" >Next</button> -->
                                </form><br>
                                <!-- <a href="#"  class="btn btn-primary btn-fw float-left"  onclick = "showTab(1,2)" >Previous</a> -->
                            </div>
                            <div id="tabs-3" class="formabc" style="display: none">
                            
                              <div class="table-responsive">
                                <table class="table table-striped">

                                    <thead>

                                        <tr>

                                            <th>No.</th>
                                            <th>Comment</th>
                                            <th>Reply</th>
                                            <th>Actions</th>

                                            
                                        </tr>

                                    </thead>
                                        
                                    <tbody>
                                    <?php if(!$comment_arr ->isEmpty()): ?>
                                      <?php $__currentLoopData = $comment_arr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                  <tr>
                                    <th scope="row"><?php echo $data->id?></th>
                                    <td><?php echo $data->ad_comment?></td>
                                    <td><?php echo $data->center_reply?></td>
                                    <td class="text-left">
                                      <div class="actions">
                                      
                                      
                                        
                                      

                                        <a  href="javascript:void(0)" data-delete_url=""   class="btnDelete btn btn-sm bg-danger-light">

                                          <i class="fa fa-trash" style="font-size: 2em;"></i> 

                                        </a>
                                      </div>
                                    </td>
                                  
                                  </tr>
                                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                  <?php else: ?>
                                    <p class="text-danger mt-2" style="padding-left:450px;">No Data Available</p>
                                  <?php endif; ?>
                                          

                                    </tbody>
                                </table>
                              </div>
                            </div>

                            <div id="tabs-4" class="formabc" style="display: none">
                            
                              <div class="table-responsive">
                                <table class="table table-striped">

                                    <thead>

                                        <tr>

                                            <th>No.</th>
                                            <th>Organisation</th>
                                            <th>Payment Mode</th>
                                            <th>Date</th>
                                            <th>Amount</th>
                                            <th>Account No</th>
                                            <th>Cheque No</th>
                                            <th>Currency</th>
                                            <th>Bank</th>
                                            <th>Payment Ref No</th>
                                            <th>UTR No</th>
                                            <th>Person Name</th>
                                            <th>IIMT ID</th>
                                            <!-- <th>Actions</th> -->

                                            
                                        </tr>

                                    </thead>
                                        
                                    <tbody>
                                    <?php if(!$payment_arr ->isEmpty()): ?>
                                      <?php $__currentLoopData = $payment_arr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                  <tr>
                                    <th scope="row"><?php echo $data->id?></th>
                                    <td><?php echo $data->organisation_name?></td>
                                    <td><?php echo $data->payment_mode?></td>
                                    <td><?php echo $data->payment_date?></td>
                                    <td><?php echo $data->amount?></td>
                                    <td><?php echo $data->account_no?></td>
                                    <td><?php echo $data->cheque_no?></td>
                                    <td><?php echo $data->currency?></td>
                                    <td><?php echo $data->bank_name?></td>
                                    <td><?php echo $data->payment_ref_no?></td>
                                    <td><?php echo $data->utr_no?></td>
                                    <td><?php echo $data->person_name?></td>
                                    <td><?php echo $data->iimt_id?></td>
                                    <!-- <td class="text-left">
                                      <div class="actions">
                                      
                                      
                                        
                                      

                                        <a  href="javascript:void(0)" data-delete_url=""   class="btnDelete btn btn-sm bg-danger-light">

                                          <i class="fa fa-trash" style="font-size: 2em;"></i> 

                                        </a>
                                      </div>
                                    </td> -->
                                  
                                  </tr>
                                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                  <?php else: ?>
                                    <p class="text-danger mt-2" style="padding-left:450px;">No Data Available</p>
                                  <?php endif; ?>
                                          

                                    </tbody>
                                </table>
                              </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
          </div>

        </div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('Admin.Layout.main_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\center\resources\views/Admin/form_list.blade.php ENDPATH**/ ?>