//Tabla Filas $precio = round($row_sql['precio']); $pdf->SetFont('arial', 'B', 8); $pdf->Cell(2, 5, '', 0, 0, 'C'); $pdf->Cell(20, 5, $row_sqlPagosR['npagos'], 1, 0, 'C'); $pdf->Cell(20, 5, cambiaf_a_normal($row_sql['f1']), 1, 0, 'C'); $pdf->Cell(20, 5, $row_sql['cuotas'], 1, 0, 'C'); $pdf->Cell(25, 5, cambiaf_a_normal($row_sql['f2']), 1, 0, 'C'); $pdf->Cell(25, 5, number_format($row_sqlPagosR['suma'], 2, ",", "."), 1, 0, 'C'); $pdf->Cell(25, 5, number_format($row_sql['precio'] - $row_sql['abonos'], 2, ",", "."), 1, 0, 'C'); $pdf->Cell(25, 5, number_format($row_sqlPagosR['suma'] + $row_sql['precio'] - $row_sql['abonos'], 2, ",", "."), 1, 1, 'C'); $pdf->Ln(2); //Linea 20 $pdf->Ln(15); $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->Line($x + 5, $y, $x + 50, $y); $pdf->Line($x + 105, $y, $x + 150, $y); $pdf->SetFont('arial', 'B', 8); $pdf->Ln(3); $pdf->Cell(50, 3, 'POR: LA EMPRESA', 0, 0, 'C'); $pdf->Cell(50, 3, '', 0, 0); $pdf->Cell(50, 3, 'POR: EL COMPRADOR', 0, 0, 'C'); $pdf->Ln(5); $pdf->SetFont('Arial', 'I', 7); $pdf->Cell(0, 6, 'Impreso el: ' . date('d/m/Y'), 0, 1, 'R'); ///COPIA/// $pdf->Ln(25); $x = $pdf->GetX(); $y = $pdf->GetY(); $pdf->Line($x - 15, $y, $x + 250, $y);