<?php 
$PageSecurity = 4;
include('includes/session.inc');
include('includes/DefineSuppTransClass.php');
include('includes/function_lib.php');
   
   //echo "select * from addissue where id='".$_POST['id']."'";

     $result=DB_query("select * from addissue where id='".$_POST['id']."'",$db);

      $row=DB_fetch_array($result);
     // echo $row['mst_Storeid'];

    $data1="<input type='text' value='".$s->getField('storetype','id',$row['mst_storeid'],'StoreName')."' id='storefrom' style='width:100%;'><input type='hidden' name='sitecode2' value='".$row['mst_storeid']."' id='sitecode2' readonly  style='width:100%'  >";
 // $data2='<input type="text" style="width:100%" value="'.date('d/m/Y',strtotime($row['issuedate'])).'"  name="issueSlipDate" readonly   />';
   $data2="<input type='text' value='".$s->getField('storetype','id',$row['to_store'],'StoreName')."' id='storeTo' style='width:100%;'><input type='hidden' name='sitecode3' value='".$row['to_store']."' readonly id='sitecode3'  style='width:100%'  >";

  // $data4='<input type="text" name="vehicle_no" value="'.$row['vehicle_no'].'" id="vehicle_no" style="width:100%" readonly />';
     
    echo $data1.'__'.$data2;
	
  

?>