<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<?php
include('../include/session.php');

$production_no = $_GET['production_no'];	
	
$table_name = $_SESSION['db_prefix']."_production_plan";
$plan_query = "SELECT production_no, production_date, batch_code, mix_design_name FROM $table_name WHERE production_no = '".$production_no."' ";
$plan_result = mySQL_query($plan_query);
$plan_num = mysql_num_rows($plan_result);
$production_date = mysql_result($plan_result, 0, "production_date");
$batch_code = mysql_result($plan_result, 0, "batch_code");
$mix_design_name = mysql_result($plan_result, 0, "mix_design_name");

$report_name = 'Count day production';
$report_no = date("d-m-Y", strtotime($production_date));
?>

<!--style sheets-->
<link href="../css/print.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" type="image/x-icon" href="../images/favicon.ico">
<title>Day production <?php echo date("d-m-Y", strtotime($production_date)) ?></title>

</head>

<body  onload="window.print(); window.close();" >


<div class="print_standard_frame">
<?php include('../include/print_header.php'); ?>
<div class="print_main_frame" style="height:auto; margin-left:50px;">
<br>

<label class="print_header_label_std"><br>Production no: <?php echo $production_no ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Batch code: <?php echo $batch_code ?>
<br />
<br />
Product:&nbsp;&nbsp;<?php echo $mix_design_name ?></label>
<br />
<br />

  <table width="642" id="table_details_display">
    <tr>
      <td width="138" >&nbsp;</td>
      <td width="196" align="center">Date</td>
      <td width="96" align="center">Quantity</td>
      <td width="100" align="center">Counted by</td>
      <td width="88" align="center">Recorded by</td>
      </tr>
   
    
    <tr>
      <td width="138" rowspan="2" valign="top"><p>&nbsp;</p>
        <p><b>&nbsp;&nbsp;Wet count</b></p></td>
      <td width="196" height="50">&nbsp;</td>
      <td width="96" align="right">&nbsp;</td>
      <td width="100" align="right">&nbsp;</td>
      <td width="88" align="right">&nbsp;</td>
      </tr>
    <tr>
      <td height="50">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      </tr>
   
  </table>
  <br />
  <br />
<table width="642" id="table_details_display">
    <tr>
      <td width="138" >&nbsp;</td>
      <td width="196" align="center">Date</td>
      <td width="96" align="center">Quantity</td>
      <td width="100" align="center">Counted by</td>
      <td width="88" align="center">Recorded by</td>
      </tr>
   
    
    <tr>
      <td width="138" rowspan="3" valign="top"><p>&nbsp;</p>
        <p><b>&nbsp;&nbsp;Depalleted</b></p></td>
      <td width="196" height="50">&nbsp;</td>
      <td width="96" align="right">&nbsp;</td>
      <td width="100" align="right">&nbsp;</td>
      <td width="88" align="right">&nbsp;</td>
      </tr>
    <tr>
      <td height="50">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      </tr>
    <tr>
      <td height="50">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
    </tr>
   
  </table>
<br />
<table width="642" id="table_details_display">
    <tr>
      <td width="138" >&nbsp;</td>
      <td width="196" align="center">Date</td>
      <td width="96" align="center">Quantity</td>
      <td width="100" align="center">Counted by</td>
      <td width="88" align="center">Recorded by</td>
      </tr>
   
    
    <tr>
      <td width="138" rowspan="3" valign="top"><p>&nbsp;</p>
        <p><b>&nbsp;&nbsp;Pallets</b></p></td>
      <td width="196" height="50">&nbsp;</td>
      <td width="96" align="right">&nbsp;</td>
      <td width="100" align="right">&nbsp;</td>
      <td width="88" align="right">&nbsp;</td>
      </tr>
    <tr>
      <td height="50">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      </tr>
    <tr>
      <td height="50">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
      <td align="right">&nbsp;</td>
    </tr>
   
  </table>
<br />
<table width="642" id="table_details_display">
    <tr>
      <td width="140" >&nbsp;</td>
      <td width="198" align="center">Date</td>
      <td width="172" align="center">Name</td>
      <td width="112" align="center">Sign</td>
      </tr>
   
    
    <tr>
      <td width="140" valign="top"><br />

        <b>&nbsp;&nbsp;Approved by:</b></td>
      <td width="198" height="50">&nbsp;</td>
      <td width="172" align="right">&nbsp;</td>
      <td width="112" align="right">&nbsp;</td>
      </tr>
   
  </table>
</div>
</div>
</div>

</body>

</html>
