Example #1
0
<?php

require_once "../../../lib/mrr.class.php";
require_once "../../../lib/helper_functions.php";
$mrr = new MRR();
$mrr_details = $mrr->PrintDetailsOfMrr((int) $_GET[id]);
// echo "<pre>";
// 	var_dump($getPassDetails);
// echo "</pre>";
$row = count($mrr_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 MRR</title>
<link href="../../../css/report.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<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>MRR</h3>
    <h4>&nbsp;</h4>		</td>
  <tr>
    <td colspan="2">Consumption No. &nbsp;<?php 
echo $mrr_details[0]["mrr_number"];
?>