コード例 #1
0
 if (trim($obj_solicitud->getStatus()) != "EN PROCESO") {
     $numerolcorf = $desc_solicitud == 'Fiscalizacion' ? $datosfiscalizar->getId_fiscalizacion() : $datosfiscalizar->getId_lev_catastral();
     $pdf->SetFont('', '', 12);
     $pdf->Cell(62, 6, 'N de ' . $desc_solicitud . ": ", 0, 0, 'R');
     $pdf->SetFont('', 'B', 12);
     $pdf->Cell(27, 6, str_pad($numerolcorf, 10, "0", STR_PAD_LEFT), 0, 0, 'L');
 }
 $pdf->Ln($new_line + 2);
 $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('', '');
 $conver_date = new date_convert($obj_solicitud->getFecha_solicitud());
 $pdf->Cell(0, 0, $conver_date->getDate(), 0, 1, 'L');
 if (trim($obj_solicitud->getStatus()) != "EN PROCESO") {
     $pdf->Cell(110);
     $pdf->SetFont('', '');
     $pdf->Cell(0, 0, "Fecha de " . $desc_solicitud . ':', 0, 1, 'L');
     $pdf->Cell(176);
     $pdf->SetFont('', '');
     $datelcorf = $desc_solicitud == 'Fiscalizacion' ? $datosfiscalizar->getFecha_fiscalizacion() : $datosfiscalizar->getFec_lev_catastral();
     $conver_date->setDate($datelcorf);
     $pdf->Cell(0, 0, $conver_date->getDate(), 0, 1, 'L');
 }
 $pdf->Ln($new_line);
 if ($page == '1') {
     $pdf->Cell($margen_izqu);
     $pdf->SetFont('', 'B', 12);