<?php
  $this->load->view('includes/header.php');
  echo '<font id="breadcrumb" class="title">'.$menu_path.'</font>';
  echo '<br>';
  /* Display system message */
  $this->fungsi->disp_sys_msg();
  echo validation_errors('<p class="field_error">', '</p>');
?>
<!-- START HERE -->
<center style="margin-top: 25px">
  <table style="outline-color: black;border: 1px; outline-style: solid;">
    <tr>
      <td colspan="3" width="1000"><b>Nomor Sample : <?php echo $nomor_sample ?><b></td>
    </tr>
    <tr>
      <td>Jam Ambil Sample :</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Jam Selesai Sample :</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Jam QC Terima Sample :</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Tanggal : </td>
      <td>Tanggal : </td>
      <td>Tanggal : </td>
    </tr>
    <tr>
      <td>Jam : </td>
      <td>Jam : </td>
      <td>Jam : </td>
    </tr>
    <tr align="center">
      <td>TTD</td>
      <td>TTD</td>
      <td>TTD</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr align="center">
      <td><b>PPIC</b></td>
      <td><b>LAB</b></td>
      <td><b>Security</b></td>
    </tr>
  </table>
  <br><br><br>
  <table style="border: 1px solid; border-collapse: collapse;">
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td style="padding: 10px">Label PPIC</td>
      <td style="padding: 10px">:</td>
      <td style="padding: 10px"><?php echo $kode_label_ppic ?></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td style="padding: 10px">Label LAB</td>
      <td style="padding: 10px">:</td>
      <td style="padding: 10px"><?php echo $kode_label_lab ?></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>

  <div style="margin: 20px 50px 10px 50px">
    <a id="buttonOne" href="<?php echo base_url('ppic_sample/ppicSample/cetakFormulir/'.$nomor_sample) ?>" target="__blank"><button style="margin: 0px 25px">Print Formulir</button></a>
    <a id="buttonTwo" href="<?php echo base_url('ppic_sample/ppicSample/cetakLabel/'.$nomor_sample) ?>" target="__blank"><button style="margin: 0px 25px">Print Label</button></a>
  </div>
</center>

<!-- END HERE -->
<?php
  if(!empty($link))
  {
  	echo '<p id="bottom_link">';
  	foreach($link as $links)
  	{
  		echo $links . ' ';
  	}
  	echo '</p>';
  }
  $this->load->view('includes/footer.php');
?>

<style type="text/css">
  @media print
  {
    #buttonOne 
    {
      display: none;
    }
    #buttonTwo 
    {
      display: none;
    }
    #buttonThree 
    {
      display: none;
    }
    #breadcrumb 
    {
      display: none;
    }
  }
</style>