<div class="row">
    <!-- begin col-8 -->
    <div class="col-sm-12">
        <!-- begin panel -->
        <div class="panel panel-grey">
            <div class="panel-heading">
        		<div class="panel-heading-btn">
                  <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-grey" data-click="panel-expand"><i class="fa fa-expand"></i></a>
                  <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-grey" data-click="panel-remove"><i class="fa fa-times"></i></a>
              </div>
              <div class="btn-group" role="group" aria-label="Group Button Penyiapan Sampel">
                <a href="<?php echo site_url('sampel/pengajuan') ?>" class="btn btn-primary m-b-5"><span class="fa fa-arrow-left"></span> Kembali</a>
                <?php $vget = $this->input->get(); ?>
                <a href="<?php echo site_url('sampel/pengajuan/penyiapan_uji?id_uji='.$vget['id_uji'].'&status='.$vget['status']) ?>" class="btn btn-warning m-b-5">Penyiapan Sampel</a>
                <a href="<?php echo site_url('sampel/pelayuan_sampel?id_uji='.$vget['id_uji'].'&status='.$vget['status']) ?>" class="btn btn-warning m-b-5 active">Pelayuan Sampel</a>
              </div>
              <hr>

            </div>
            <div class="panel panel-body table-responsive">
              <table class="table table-bordered table-striped">
                <thead class="text-center">
                  <tr class="inverse">
                    <th rowspan="2">No</th>
                    <th rowspan="2">Aksi</th>
                    <th rowspan="2">Nomor Sampel</th>
                    <th colspan="2">Tgl&nbsp;dan&nbsp;Pukul sebelum&nbsp;Masuk&nbsp;Oven</th>
                    <th rowspan="2">Berat&nbsp;Segar (gram)</th>
                    <th colspan="2">Tgl&nbsp;dan&nbsp;Pukul setelah&nbsp;Keluar&nbsp;Oven</th>
                    <th rowspan="2">Berat Kering (gram)</th>
                    <th rowspan="2">Kadar&nbsp;Air&nbsp;1 (%)</th>
                    <th colspan="2">Pelaksana</th>
                    <th rowspan="2">Paraf Penyelia</th>
                    <th rowspan="2">Keterangan</th>
                  </tr>
                  <tr class="inverse">
                    <th>Tanggal</th>
                    <th>Pukul</th>
                    <th>Tanggal</th>
                    <th>Pukul</th>
                    <th>Nama</th>
                    <th>Paraf</th>
                  </tr>
                </thead>
                <tbody>
                  <?php $i=1; foreach($data as $r) {?>
                    <tr>
                      <td><?php echo $this->uri->segment(3)+$i++; ?></td>
                      <td>
                        <?php echo aksi_button('start'); ?>
        									<li>
        										<a href="<?php echo site_url('sampel/pelayuan_sampel/create_edit?id_uji='.$id_uji.'&id_sampel='.$r['id_sampel'].'&status='.$status) ?>">Form Pelayuan</a>
        									</li>
        								<?php echo aksi_button('end'); ?>
                      </td>
                      <td><?php echo nomor_id($r['id_sampel']); ?></td>
                      <td><?php echo set_indo_date_from_timestemp($r['tgl_pukul_sebelum_dioven']); ?></td>
                      <td><?php echo set_indo_time_from_timestemp($r['tgl_pukul_sebelum_dioven']); ?></td>
                      <td><?php echo $r['berat_segar']; ?></td>
                      <td><?php echo set_indo_date_from_timestemp($r['tgl_pukul_setelah_dioven']); ?></td>
                      <td><?php echo set_indo_time_from_timestemp($r['tgl_pukul_setelah_dioven']); ?></td>
                      <td><?php echo $r['berat_kering']; ?></td>
                      <td><?php echo $r['kadar_air']; ?></td>
                      <td><?php echo $r['nama_pelaksana']; ?></td>
                      <td><?php echo $r['paraf_pelaksana']; ?></td>
                      <td><?php echo $r['paraf_penyelia']; ?></td>
                      <td><?php echo $r['keterangan']; ?></td>
                    </tr>
                  <?php } ?>
                </tbody>
              </table>
            </div>
            <div class="panel panel-footer">

            </div>
        </div>

    </div>
</div>
