<link href="<?php echo base_url();?>resources/css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" href="<?php echo base_url('resources/css/AdminLTE.css') ?>">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
<body class="hold-transition skin-blue layout-top-nav">
<script type="text/javascript">
</script> 
<div id="wrapper-terserah">
  <div class="content-wrapper">
    <section class="content-header">
        <h1>LAPORAN UPLOAD <?php echo $mainWhere.$jlhpage; ?>
          <small>Dokumen Elektronik (d-Docs) Direktori Putusan Mahkamah Agung</small>
        </h1>
</section>
  <div class="konten">
    <section class="content">
      <div class="row">
        <div class="col-xs-12">
          <div class="box">
            <div class="box-header">
              <h3 class="box-title">DETIL LAPORAN <?php echo $title; ?></h3>

              <div class="box-tools">
                <form method="post" action="<?php echo base_url(); ?>antrian_dirput/show_list_searching" >
                <div class="input-group input-group-sm" style="width: 400px;">
                  <input type="text" id ="keyword" name="keyword" class="form-control pull-right" placeholder="Search" onkeyup=lihat(this.value)>
                  <div class="input-group-btn">
                    <button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
                  </div>
                </div>
                <input type="hidden" name="rowId" id="rowId" value=<?php echo $rowId; ?> </input>
                </form>
              </div>
              <div id="suggest_box" style="position:absolute;top:36;left:15;backgroundcolor:lightblue;width:200;visibility:hidden;z-index:100">
              <?php 
                echo $ls_noperkara;
              ?>
            </div>
            </div>
            <!-- /.box-header -->
<!--             <div class="box-header">
              <?php echo $paginator; ?>
            </div> -->
            <div class="modal-body">
            <div class="box-body table-responsive no-padding">
              <table class="table table-hover" style="font-size: 13px;">
                <col  width="5%">
                <col  width="20%">
                <col  width="20%">
                <col  width="20%">
                <col  width="">
                <col  width="">
                <col  width="10%">
              <thead>  
                <tr>
                  <th>NO</th>
                  <th>NOMOR PERKARA</th>
                  <th>MAJELIS HAKIM</th>
                  <th>PANITERA PENGGANTI</th>
                  <th align="center">Tanggal Putus</th>
                  <th align="center">Tanggal Minutasi</th>
                  <th align="center">Status e-Docs Putusan</th>
                </tr>
              </thead>
              <tbody>
                  <?php 
                  if(count($data_putusan)>0){
                    if(!$jlhpage){ 
                            $no=1;
                      }else{
                            $no=$jlhpage+1;
                      }
                      foreach ($data_putusan as $row) {
                        echo "<tr>";
                          echo '<td align="center">'.$no++.'</td>';
                          echo '<td>'.$row->nomor_perkara.'</td>';
                          echo '<td>TANGGAL PENETAPAN :</br>'.$this->tanggalhelper->convertDayDate($row->penetapan_majelis_hakim).'</br></br>'.$row->majelis_hakim_text;
                          echo '<td>TANGGAL PENETAPAN :</br>'.$this->tanggalhelper->convertDayDate($row->penetapan_panitera_pengganti).'</br></br>'.$row->panitera_pengganti_text;
                          echo '<td>'.$this->tanggalhelper->convertDayDate($row->tanggal_putusan).'</td>';
                          echo '<td>'.$this->tanggalhelper->convertDayDate($row->tanggal_minutasi).'</td>';
                          if(!empty($row->amar_putusan_dok)){
                            $label = 'label-success" style="font-size: 12px;"> UPLOADED</span></td>';
                          }else{
                            $label = 'label-danger" style="font-size: 12px;"> NOT UPLOADED</span></td>';
                          }
                          echo '<td align="left"><span class="label '.$label;
                          echo "</tr>";
                      }
                    }else{
                      echo "<tr><td colspan='7' align='center'>Tidak Ada Data</td></tr>";
                    }
                  ?>
                  </tbody>
              </table>
            </div>
            <div class="box-footer clearfix" style="font-size: 12px;">
              <?php echo $paginator; ?>
            </div>
          </div>
        </div>
      </div>
    </div>
    </section>
  </div>
  </div>
  </div>
    <div class="control-sidebar-bg"></div>
    <div class="modal fade" id="modalku"  tabindex="-1" role="dialog">
      <div class="modal-dialog modal-besar">
          <div id='modalku_konten'class="modal-content">
              
          </div>
      </div>
    </div>
<script src="<?php echo base_url('resources/js/jquery-2.2.3.min.js') ?>"></script>
<script src="<?php echo base_url('resources/js/bootstrap.min.js') ?>"></script>
<script type="text/javascript">
</script>
