Ejemplo n.º 1
0
<?php

//--------------------------
// developer:	Jafarkhani
// Date:        94.06
//--------------------------
require_once '../header.inc.php';
require_once 'baseinfo.class.php';
require_once '../global/ManageReport.class.php';
require_once inc_reportGenerator;
Manage_Report::BeginReport();
echo "<br><br>";
$dataTable = ACC_CostCodes::SelectCost(" 1=1 order by Costcode");
$rpg = new ReportGenerator();
$rpg->addColumn("کد حساب", "CostCode");
$rpg->addColumn("گروه حساب", "LevelTitle0");
$rpg->addColumn("حساب کل", "LevelTitle1");
$rpg->addColumn("معین", "LevelTitle2");
$rpg->addColumn("جزء معین", "LevelTitle3");
$rpg->mysql_resource = $dataTable;
$rpg->generateReport();
die;
Ejemplo n.º 2
0
 $query .= " order by bs.sex ,bs.EducLevel ,bs.EducBase , bs.CLName  ";
 $dataTable = PdoDataAccess::runquery_fetchMode($query, $param);
 if ($_SESSION["UserID"] == "bmahdipour") {
     /*echo(PdoDataAccess::GetLatestQueryString());
      die();   */
 }
 $rpg = new ReportGenerator();
 $rpg->excel = !empty($_POST["excel"]);
 //$rpg->excel = true;
 $rpg->mysql_resource = $dataTable;
 $rpg->paging = true;
 $rpg->rowNumber = true;
 $rpg->page_size = $MaxCountTable;
 if (!$rpg->excel) {
     Manage_Report::BeginReport();
     $rpg->headerContent = Manage_Report::MakeHeader($title, $_POST["from_date"], $_POST["to_date"], "", true);
 }
 function Remove1Render($row, $val)
 {
     $BSID = $row["BSID"];
     $extension = $row["PicFileType"];
     //$t="<img src='/mystorage/BestStuDocument/PicDoc/".$BSID.".".$extension."'>";
     //echo $t;
     // return "<img src='/mystorage/BestStuDocument/PicDoc/".$BSID.".".$extension."'>";
     return "<img  height=42 width=42 src='/ServiceManagement/StaffUtility/ui/showImage.php?BSID=" . $BSID . "'>";
 }
 $rpg->addColumn("نام ولی", "PFName");
 $rpg->addColumn("نام خانوادگی ولی", "LFName");
 $rpg->addColumn("نام فرزند", "CFName");
 $rpg->addColumn("نام خانوادگی فرزند", "CLName");
 $rpg->addColumn("جنسیت", "sexTitle");
Ejemplo n.º 3
0
				<br><br>
				</td>
			</tr>
			<tr>
				<td style=padding-right:40px align=center>رسول عبدالهی<br> مدیر عامل</td>
				<td align=center>مهر صندوق</td>
				<td style=padding-left:40px align=center>دکتر جواد بهارآرا <br> رئیس هیئت مدیره</td>
			</tr>
		</table></div>";
		
		echo "<div style='width:285mm;font-family:Homa;font-size:12px'>
			<center>با صدور این برگ اوراق صادره قبلی باطل اعلام می گردد.( تاریخ صدور : " .
			DateModules::shNow(). " )</center></div>";
		
		if($i != count($dataTable)-1)
			echo Manage_Report::PageBreak();
	}
	echo "</center></body></html>";
	die();
}

?>
<script>
PrintShare.prototype = {
	TabID : '<?= $_REQUEST["ExtTabID"]?>',
	address_prefix : "<?= $js_prefix_address?>",

	DocID : "",

	get : function(elementID){
		return findChild(this.TabID, elementID);