$pdf->setTitle('Reporte de Fiscalizacion'); $pdf->SetMargins(3, 2, 3); $pdf->AliasNbPages('Total_page'); $pdf->AddPage(); $pdf->SetFont('Arial', 'B', 11.5); $pdf->Cell(0, 0, $Title_Principal, 0, 0, 'C'); $pdf->Ln(3); if ($orientacion == "P") { $new_line = 6; $pdf->Cell(150); $pdf->Cell(0, 0, 'Solicitud N: ' . str_pad($obj_solicitud->GetIdSolicit(), 10, "0", STR_PAD_LEFT), 0, 1, 'L'); $pdf->Ln(10); $pdf->Cell(10); $pdf->Cell(0, 0, 'Estatus: ' . $obj_solicitud->GetStatusSolicit(), 0, 0, 'L'); if (trim($obj_solicitud->GetStatusSolicit()) != "EN PROCESO") { $numerolcorf = $des_solicitud == 'Fiscalizacion' ? $datosfiscalizados->GetNFiscalizacion() : $datoslevcatastral->GetLevCatast(); $pdf->Cell(-10, 0, 'N de ' . $des_solicitud . ": " . str_pad($numerolcorf, 10, "0", STR_PAD_LEFT), 0, 0, 'R'); } $pdf->Ln($new_line); $margen_izqu = 10; $pdf->SetFont('', '', 12); $pdf->Cell($margen_izqu); $pdf->SetFont('', 'B'); $pdf->Cell(0, 0, 'Fecha de Solicitud:', 0, 1, 'L'); $pdf->Cell(50); $pdf->SetFont('', ''); $pdf->Cell(0, 0, $obj_solicitud->GetFecSolicit(), 0, 1, 'L'); if (trim($obj_solicitud->GetStatusSolicit()) != "EN PROCESO") { $pdf->Cell(110); $pdf->SetFont('', ''); $pdf->Cell(0, 0, "Fecha de " . $des_solicitud . ':', 0, 1, 'L');