WordPress

Coming Soon

revealability

File "481d812108870c7cb66176b1800a3549561a9783.php"

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

 	

<?php $__env->startSection('title','View All Aplication Form'); ?>

<?php $__env->startSection('main_container'); ?>

      <!-- partial -->

      <div class="main-panel">

        <div class="content-wrapper">

          <div class="page-header">

            <h3 class="page-title">

              

            </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">Application Form</li>

              </ol>

            </nav>

          </div>

          <?php if(session('message')): ?>
            <h6 class="alert alert-success">
                <?php echo e(session('message')); ?>

            </h6>
        <?php endif; ?>

          <div class="row grid-margin">

            <div class="col-12">

              <div class="card">

                <div class="card-body">

                  <h4 class="card-title">View Application Form List</h4>

                  

                 <div class="col-lg-12 grid-margin stretch-card">

                    <div class="card">

                      <div class="card-body">

                        

                        <div class="table-responsive">

                          <table class="table table-striped">

                            <thead>

                              <tr>

                                <th>No.</th>

                               

                                <th>Organization Name</th>

                                <th>Status</th>

                                <th>View</th>
                                <th>Inspection</th>
                                

                              </tr>

                            </thead>

                            <tbody>

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

                                      <?php $__currentLoopData = $organization_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>

                                  <?php if($data->status=='Approved'): ?>

                                  <td class="btn btn-brown btn-primary btn-fw btn-md" style="margin-top:35px;"><?php echo $data->status?></td>

                                  <?php elseif($data->status=='Action required'): ?>

                                  <td class="btn btn-warning btn-fw btn-md" style="margin-top:15px;"><?php echo $data->status?></td>

                                  <?php elseif($data->status=='Re-apply'): ?>

                                  <td class="btn btn-danger btn-fw btn-md" style="margin-top:15px;"><?php echo $data->status?></td>

                                  <?php else: ?>

                                  <td class="btn btn-warning btn-fw btn-md" style="margin-top:15px;"><?php echo $data->status?></td>

                                  <?php endif; ?>

                                  <td class="text-left">

                                    <div class="actions">

                                     

                                    <a href="<?php echo e(url('edit_document/'.$data->form_id)); ?>" class="btn btn-primary  btn-sm" >Application Form</a><br><br>

                                   
                                    <?php
                                      $data1 = DB::table('payments')->where('payments.customer_id','=',Session('customer_id'))
                                      ->where('payments.form_id','=',$data->form_id)->where('payments.status','=','Approve')
                                      ->first();
                                      if($data1)
                                      {
                                    ?>

                                    <a href="<?php echo e(url('add_proofs/'.$data->form_id)); ?>" class="btn btn-primary  btn-sm" >Upload Documents</a>

                                    <?php 
                                      }
                                      elseif($data->status=='Approved'){
                                     ?>
                                    <a href="<?php echo e(url('view_invoice/'.$data->form_id)); ?>"  target="_blank"><i class="fa fa-paperclip" aria-hidden="true"></i>
                                    </a>
                                    
                                    <a href="<?php echo e(url('add_payment/'.$data->form_id)); ?>" class="btn btn-primary  btn-sm" >Pay Now</a><br><br>
                                        
                                        <br> <br>
                                    <?php
                                     }else{
                                    ?>
                                    <?php
                                      }
                                   ?>
                                  

                                    
                                      



                                      <!-- <a href="javascript:void(0)" data-delete_url="<?php echo e(url('application_destroy/'.$data->form_id)); ?>"   class="btnDel btn btn-sm bg-danger-light">



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



                                      </a> -->

                                    </div>

                                  </td>

                                  <td>
                                    <?php
                                      $data1 = DB::table('inspections')->where('inspections.customer_id','=',Session('customer_id'))
                                      ->where('inspections.form_id','=',$data->form_id)->first();
                                      if($data1)
                                      {
                                    ?>
                                    <a href="<?php echo e(url('center_inspection/'.$data->form_id)); ?>" class="btn btn-primary  btn-sm" >Inspection</a>
                                    <?php 
                                      }
                                    ?>
                                  </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>

            

        </div>

          

        <!-- content-wrapper ends -->

       <?php $__env->stopSection(); ?>
<?php echo $__env->make('User.Layout.main_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/opaldemo/public_html/center.iimtstudies.co.uk/resources/views/User/view_document.blade.php ENDPATH**/ ?>