<?php $PageSecurity = 11;
include('includes/session.inc');
include('includes/header.inc');
include('includes/SQL_CommonFunctions.inc');

 $venqry="select vendor_type from suppliers where id='".$_REQUEST['venID']."'";

$venExec=DB_query($venqry, $db);
$ventypedata=DB_fetch_array($venExec);

         if($ventypedata['vendor_type']=='International') {  $r='Import Order'; $o='IO'; }
         if($ventypedata['vendor_type']=='Domestic') {  $r='Domestic Order'; $o='DO'; }
 $data1.="<input type='text' name='poType1' id='poType1' readonly value='".$r."' style='width:100%;'/>";
 $data2.="<input type='hidden' name='poType' id='poType' readonly value='".$o."' style='width:100%;'/>";

echo $data1.'__'.$data2;

?>
