
<?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="add_post_mortem">Add new Mortem Docs </a> </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">Mortem Docs </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 Mortem Docs</h3>
              </div>
              <!-- /.card-header -->
              <div class="card-body">
              <table id="example" class="table table-striped table-bordered" style="width:100%">
                    <thead>
                    <tr style = "background-color: cornflowerblue;
    color: aliceblue;">

                        <th>Serial No</th>
                        <th>Mortem Docs</th>
                        <th> Remarks</th>
                         <th>Date</th>
                       
                    </tr>
                    </thead>
                    <tbody>
                    
                              <?php
                             $i=1
                            
                              ?>
                              <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $dataVal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                             
                      <tr>
                        <td><?php echo e($i++); ?></td>
                        <td> <a href="<?php echo e(url('public/mortem').'/'.$dataVal['mortem_docs']); ?>" target="_blank" download> 
                        <img src="<?php echo e(url('public/mortem').'/'.$dataVal['mortem_docs']); ?>"  style = "width:100px;height:100px;" > 
                        </a></td>
                        <td>
                             <?php echo e($dataVal['remarks']); ?>

                        </td>
                        
                       <td> <?php echo e($dataVal['created_at']); ?> 
                        </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 /home/hpinfome/public_html/mirs/resources/views/layouts/view_PostMortem.blade.php ENDPATH**/ ?>