<?php

require_once '../../lib/defination.class.php';
include '../../lib/supplier.class.php';
include '../../lib/stock.class.php';
include '../../lib/indent.class.php';
include '../../lib/purchaseOrder.class.php';
$stock = new Stock();
$output = options_for_select($stock->retriveStockItem(), 'stock_item_id', 'stock_item_name');
// get suppliers info for combo box;
$Supplier = new Supplier();
$outputSupplierItem = options_for_select($Supplier->retriveSupplierInfo(), 'sup_id', 'sup_name', true);
$Indent = new Indent();
$outputIndentNo = options_for_select($Indent->retriveIndendInfo(), 'indent_id', 'indent_code', true);
$Purchaseorder = new Purchaseorder();
$num = $Purchaseorder->getNewId();
?>
<link href="../../css/stylesheet.css" rel="stylesheet" type="text/css" />

 
<div id="note"> </div>
<form id="requisitionForm" name="requisitionForm" method="post"   action="includes/model/purchase_order_actions.php" >
	
		<div class="vertical_form">
        	<p>
                <div align="left">
                    <label>Party Name:</label>
                        <select name="selSupplier" id="selSupplier">
                <?php 
echo $outputSupplierItem;
?>