Exemple #1
0
 if (($currentFundID != $fun_ID || $currentDepositID != $plg_depID) && $currentFundID && $detail_level != "summary") {
     // New Fund. Print Previous Fund Summary
     if ($countFund > 1) {
         $item = gettext("items");
     } else {
         $item = gettext("item");
     }
     $sFundSummary = "{$currentFundName} Total - {$countFund} {$item}:   \$" . number_format($currentFundAmount, 2, '.', ',');
     $curY += 2;
     $pdf->SetXY(20, $curY);
     $pdf->SetFont("Times", 'I', 10);
     $pdf->Cell(176, $summaryIntervalY, $sFundSummary, 0, 0, "R");
     $curY += 1.75 * $summaryIntervalY;
     $countFund = 0;
     $currentFundAmount = 0;
     $page = $pdf->PageBreak($page);
 }
 // Check for new deposit
 if ($currentDepositID != $plg_depID && $currentDepositID) {
     // New Deposit ID.  Print Previous Deposit Summary
     if ($countDeposit > 1) {
         $item = gettext("items");
     } else {
         $item = gettext("item");
     }
     $sDepositSummary = "Deposit #{$currentDepositID} Total - {$countDeposit} {$item}:   \$" . number_format($currentDepositAmount, 2, '.', ',');
     $pdf->SetXY(20, $curY);
     $pdf->SetFont("Times", 'B', 10);
     $pdf->Cell(176, $summaryIntervalY, $sDepositSummary, 0, 0, "R");
     $curY += 2 * $summaryIntervalY;
     if ($detail_level != "summary") {