//************cierra pruebas
    $pdf->Ln(2);
    //salto de linea
    //$pdf->Ln(1); //salto de linea
}
$despliegaTotal = new acumulados();
$despliegaTotal1 = new acumulados();
$TOTAL = $despliegaTotal->acumulado($basedatos, $usuario, $_GET['numeroE'], $_GET['nCuenta']);
$centavos = strstr($TOTAL, '.');
$centavos = substr($centavos, '1');
$resultado = numerotexto($TOTAL);
$totalCaracteres = strlen($centavos);
if ($totalCaracteres == '1') {
    $centavos = $centavos . '0';
}
if (!$centavos) {
    $centavos = '00';
}
$formula = 'pesos ' . $centavos . '/100 M.N.';
$formula = trim($formula);
$Y = 120;
$pdf->SetFont('Arial', '', 8);
$pdf->SetY($Y);
$pdf->Cell(0, 0, "\$" . number_format($despliegaTotal1->acumulado1($basedatos, $usuario, $_GET['numeroE'], $_GET['nCuenta']), 2), 0, 0, R);
$pdf->SetY($Y + 5);
$pdf->Cell(0, 0, "\$" . number_format($iva, 2), 0, 0, R);
$pdf->SetY($Y + 10);
$pdf->Cell(0, 0, "\$" . number_format($TOTAL, 2), 0, 0, R);
$pdf->SetXY(22, $Y + 10);
$pdf->Cell(0, 0, '*** ' . $resultado . ' ' . $formula . ' ***', 0, 0, L);
$pdf->Output();