<?php $PageSecurity = 11;
include('includes/session.inc');
include('includes/header.inc');
include('includes/SQL_CommonFunctions.inc');
include('includes/function_lib.php');
if($_REQUEST['site']!='')
{
$sql="Select * from job_route_card where id='".$_REQUEST['site']."'";
$result=DB_query($sql,$db);
$row=DB_fetch_array($result); 
$process=$s->getField('production_process_master','id',$row['process_name'],'manuf_process_name');
$item=$s->getField('item_master','StockID',$row['part_code'],'item_name'); ?>

 <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" >
    <tr>
        <td nowrap="nowrap" colspan="2" width="50%" valign="top">
        <div id="enquiryId" style="width:100%; margin:0 auto;">
            <table width="100%" cellpadding="2" cellspacing="1" border="0">
                <tr>
                 <th align="left"><strong>Job Card Date	</strong></th>
                    <td><input type="text" name="job_date" id="job_date"  size="6"  style="width:100%;" value="<?php echo $row['job_card_date']; ?>" >
                    	</td>
                    <th align="left"><strong>Item Name</strong></th>
                     <td>
                     	
                     	<input type="text"  style="width:100%;" name="item_name1" id="item_name1" value="<?php echo $item; ?>">
                     </td>
                  </tr><tr>
                  	<th width="24%" align="left"><strong>Party Name</strong></th>
                    <td width="27%"><input type="text" name="party_name" id="party_name" style="width:100%;" value="<?php echo $row['customer_name']; ?>"/>
                    	</td>
                      <th align="left"><strong>Order Qty</strong></th>
                     <td><input type="text"  style="width:100%;" name="order_qty" id="order_qty" value="<?php echo $row['order_qty']; ?>">
                     </td></tr>   
                      
                                   
                  
                 </table></div>
       
        </td>
        </tr>
    </table>
<?php  }  ?>
