Ejemplo n.º 1
0
 $currentDepositID = 0;
 $currentFundID = 0;
 $totalAmount = 0;
 $totalFund = array();
 $countFund = 0;
 $countDeposit = 0;
 $countReport = 0;
 $currentFundAmount = 0;
 $currentDepositAmount = 0;
 $currentReportAmount = 0;
 // **********************
 // Sort by Deposit Report
 // **********************
 if ($sort == "deposit") {
     if ($detail_level == "detail") {
         $curY = $pdf->Headings($curY);
     }
     while ($aRow = mysql_fetch_array($rsReport)) {
         extract($aRow);
         if (!$fun_ID) {
             $fun_ID = -1;
             $fun_Name = "Undesignated";
         }
         if (!$fam_ID) {
             $fam_ID = -1;
             $fam_Name = "Unassigned";
         }
         // First Deposit Heading
         if (!$currentDepositID && $detail_level != "summary") {
             $sDepositTitle = "Deposit #{$plg_depID} ({$dep_Date})";
             $pdf->SetFont("Times", 'B', 10);