Beispiel #1
0
		</div> 

	
	<?php 
if (!empty($purchases)) {
    ?>

		
		<?php 
    foreach ($purchases as $pur) {
        ?>
		
		
		
		<?php 
        $details = $purchase->FindDetailsOfPurchase($pur[pm_id]);
        $stock_names = "";
        ?>
			
		<div class="list" id="<?php 
        echo $pur[pm_id];
        ?>
">
			
			<?php 
        foreach ($details as $detail) {
            ?>
	
				<?php 
            $stock_names .= $detail[stock_item_name] . ", ";
            ?>
Beispiel #2
0
<?php

require_once "../../../lib/purchaseOrder.class.php";
require_once "../../../lib/helper_functions.php";
$purchase = new Purchaseorder();
$purchase_details = $purchase->FindDetailsOfPurchase((int) $_GET[id]);
$purchase_m_id = $_GET[id];
?>
<table width="200" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><a class="button" href="includes/contents/voucher_print/print_purchase_order.php?id=<?php 
echo $purchase_m_id;
?>
"  title="Purchase List">Print</a></td>
  </tr>
</table>

	 <div id="inline_form">
			
			<div class="mediumbody">
				<div class="lowbanner1"> </div>
	            <div class="lowbannertest">	
					<ul>
						<li style="width:420px">Items </li>
						<li style="width:90px">Quantity</li>  
						<li style="width:110px">Rate</li> 
						<li style="width:30px">Amount</li> 
					</ul>
				</div>
	            <div class="lowbanner3"> </div>	
		</div>