<?php require_once "../../../lib/consumption.class.php"; require_once "../../../lib/helper_functions.php"; $consumption = new Consumption(); $consumption_details = $consumption->FindDetailsOfConsumption((int) $_GET[p_m_id]); // echo "<pre>"; // var_dump($getPassDetails); // echo "</pre>"; $row = count($consumption_details); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Print Consumption</title> <link href="../../../css/report.css" rel="stylesheet" type="text/css" /> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="25%" height="94" align="center" valign="top"> <td width="50%" height="26" align="center" valign="top"><h1>Square Textiles Ltd.</h1> <p class="style1">Saradaganj, Kashimpur, Gazipur </p> <h3>ISSUE </h3> <h4> </h4> </td> <tr> <td colspan="2">Consumption No. <?php echo $consumption_details[0]["consumption_num"]; ?>
<?php require_once "../../../lib/consumption.class.php"; require_once "../../../lib/helper_functions.php"; $consumption = new Consumption(); $consumptions = $consumption->FindDetailsOfConsumption((int) $_GET[id]); ?> <table width="200" border="0" cellspacing="0" cellpadding="0"> <tr> <td><a class="button" href="includes/contents/voucher_print/print_consumption.php?p_m_id=<?php echo $_GET[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:250px">Items </li> <li style="width:90px">Code #</li> <li style="width:90px">Part #</li> <li style="width:70px">Qty.</li> <li style="width:100px">Price</li> <li style="width:50px">Value</li> </ul> </div> <div class="lowbanner3"> </div>