WordPress

Coming Soon

revealability

File "0f830de290bafbba13d6a2fe74002ae90c012550.php"

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

 	

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

<?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">Document</li>

              </ol>

            </nav>

          </div>

          

          <div class="row grid-margin">

            <div class="col-12">

              <div class="card">

                <div class="card-body">

                  <h4 class="card-title">View Document</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>Name Of Organisation</th>

                               

                                <th>Action</th>

                                

                              </tr>

                            </thead>

                            <tbody>

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

                                      <?php $__currentLoopData = $organization_id_arr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                              <?php
                                  $categories = DB::table('all_documents')->join('document_types','document_types.id','=','all_documents.document_id')
                                  ->select('document_id')->distinct()
                                  ->where('all_documents.form_id','=',$data->form_id)
                                  ->where('document_types.doc_type','=','mandatory')
                                  ->where('all_documents.customer_id',Session('customer_id'))->get(['all_documents.document_id','document_types.doc_type']);
                    
                                if(count($categories) >=20 )
                                {
                              ?>
                                <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('apply_qualifications')->where('form_id','=',$data->form_id)->first();
                                      
                                        if($abc)
                                        {
                                      ?>
                                        <a href="<?php echo e(url('edit_apply_qualification/'.$data->form_id)); ?>" class="btn btn-primary  btn-block-sm" >UPDATE Apply For Qualification</a>
                                      <?php
                                        }
                                        else{
                                      ?>
                                        <a href="<?php echo e(url('apply_qualification/'.$data->form_id)); ?>" class="btn btn-primary  btn-block-sm" >Apply For Qualification</a>
                                      <?php
                                        }
                                      ?>
                                        
                                      <?php
                                        $def=DB::table('endorse_qualifications')->where('form_id','=',$data->form_id)->first();
                                      
                                        if($def)
                                        {
                                      ?>
                                        <a href="<?php echo e(url('edit_endorse_qualification/'.$data->form_id)); ?>" class="btn btn-primary  btn-block-sm" >UPDATE Apply Endorse Qualification</a>
                                      <?php
                                        }
                                        else{
                                      ?>
                                        <a href="<?php echo e(url('endorse_qualification/'.$data->form_id)); ?>" class="btn btn-primary  btn-block-sm" >Apply Endorse Qualification</a>
                                      <?php
                                        }
                                      ?>
                                      

                                    </div>

                                  </td>

                                </tr>
                              <?php 
                                }
                              ?>

                                  <?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 C:\xampp\htdocs\center\resources\views/User/apply_for_qual.blade.php ENDPATH**/ ?>