Search This Blog

ReportTDK for Php

ReportTDK for php allows to create report excel from template excel with a few lines of code.

Features:

  • Support parts: Detail, Group, Total
  • Support style, format for cell
  • Support formulas in Detail ( such as:=C5*D5), Group,Total ( such as: =SUMIF(J$7,"1",I$7), I is column to get SUM, J is column to compare to 1, 7 id row of Detail)

Demos:

Code Demo:

  $report= new Reportx($vtRS, $strTemplatePath, $strReportPath);

  $strReportDate = date('d/m/y');
  $report->setParameter('$ReportDate', $strReportDate);

  $report->fillDataToExcel(false);

  $report->unInit();

Contact:

Share:

No comments:

Powered by Blogger.

Recent Posts

Pages