<?php session_name('CAKEPHP'); session_start();
$PageSecurity = 4;
$PageName = 'Add Items';
include('includes/DefinePOClass.php');
include('includes/session.inc');
include('includes/SQL_CommonFunctions.inc');
include('includes/DefineSuppTransClass.php');
//include('includes/header.inc');
include('includes/function_lib.php');

$sql=DB_query("select * from dbl_dealer where company='".$_SESSION['ACGCompanyId']."'",$db);
$row=DB_fetch_array($sql);
extract($row);
?>
<link href="css/purchses.css" rel="stylesheet" type="text/css" />
<div class="left_part" style="border:#000000 solid 1px;">


<fieldset><legend><strong>Terms Details</strong></legend>
<table width="100%" border="1" cellpadding="3" cellspacing="0" align="center">
 <tr><th><span class="mandatory"><strong>*</strong></span><strong>Bank Name </strong></th>
      <td><input name="bank" type="text"  id="bank" style="width:150px;" readonly  value='<?php if(isset($bank)) echo $bank; ?>'></td><th><strong>Bank Address</strong></td>
      <td><textarea name="bankaddress" id="bankaddress" style="width:150px;" readonly ><?php echo $bankaddress; ?></textarea> </td>
    </tr>
	  
  <tr><th><strong>Delivery Terms </strong></th>
      <td><input type="text" name="delivery_terms_code" id="delivery_terms_code" style="width:40px;" value="<?php if(isset($delivery_terms_code)) echo $delivery_terms_code; ?>" readonly />
	  <input  type="text" name="delivery_terms" id="delivery_terms" style="width:110px;"  value='<?php if(isset($delivery_terms)) echo $delivery_terms; ?>'  readonly /></td><th><strong>Dispatch Mode </strong></th>
      <td ><input type="text" name="Dispatch_mode_code" id="Dispatch_mode_code" style="width:40px;" value="<?php if(isset($Dispatch_mode_code)) echo $Dispatch_mode_code; ?>"  readonly />
	  <input  type="text" name="Dispatch_mode" id="Dispatch_mode" style="width:110px;"  value='<?php if(isset($Dispatch_mode)) echo $Dispatch_mode; ?>' readonly  /></td>  
	 </tr>
	   <tr ><th><strong>Payment Mode</strong></th>
      <td><input type="text" name="paymentmode_code" id="paymentmode_code" style="width:40px;" value="<?php if(isset($paymentmode_code)) echo $paymentmode_code; ?>" readonly />
	  <input  type="text" name="paymentmode" id="paymentmode" style="width:110px;"  value='<?php if(isset($paymentmode)) echo $paymentmode; ?>' readonly /></td><th><strong>Payment Terms</strong></th>
      <td><input type="text" name="payment_terms_code" id="payment_terms_code" style="width:40px;" value="<?php if(isset($payment_terms_code)) echo $payment_terms_code; ?>"  readonly />
	  <input  type="text" name="payment_terms" id="payment_terms" style="width:110px;"  value='<?php if(isset($payment_terms)) echo $payment_terms; ?>' readonly /></td> 	
	  </tr>
	  <tr ><th><strong>Certificated</strong></th>
<td><input  type="text" name="certificated" id="certificated" style="width:150px;"  value='<?php if(isset($certificated)) echo $certificated; ?>' readonly /></td><th><strong>Contact Person</strong></td>
<td><input  type="text" name="contact_person" id="contact_person" style="width:150px;"  value='<?php if(isset($contact_person)) echo $contact_person; ?>' readonly /></td> 
</tr>
 <tr ><th><strong>Contact No</strong></th>
<td><input  type="text" name="contact_no" id="contact_no" style="width:150px;"  value='<?php if(isset($contact_no)) echo $contact_no; ?>' readonly /></td><th><strong>Courier</strong></td>
<td><input  type="text" name="courier" id="courier" style="width:150px;"  value='<?php if(isset($courier)) echo $courier; ?>' readonly /></td> 
	  
	  </tr>	  
	  
	  
	  
	  
</table>
</fieldset>	
</div>
