Example #1
0
 $pdf->Cell(0, 0, 'Solicitud N: ' . str_pad($obj_solicitud->getId_solicitud(), 10, "0", STR_PAD_LEFT), 0, 1, 'L');
 $pdf->Ln(10);
 $pdf->Cell(10);
 //	$pdf->Cell(0,0,'Estatus: '.$obj_solicitud->getStatus(),0,0,'L');
 $pdf->Cell(21, 6, "Estatus: ", 0, 0, 'L');
 $pdf->Cell(4, 4, '', 1, 0, 'L', 1);
 $pdf->SetFont('Arial', 'B', 8);
 $pdf->Cell(20, 6, "EN PROCESO", 0, 0, 'L');
 $relleno = $obj_solicitud->getStatus() == "REALIZADA" || $obj_solicitud->getStatus() == "ACTUALIZADA" ? 1 : 0;
 $pdf->Cell(4, 4, '', 1, 0, 'L', $relleno);
 $pdf->Cell(18, 6, "REALIZADA", 0, 0, 'L');
 $relleno = $obj_solicitud->getStatus() == "ACTUALIZADA" ? 1 : 0;
 $pdf->Cell(4, 4, '', 1, 0, 'L', $relleno);
 $pdf->Cell(30, 6, "ACTUALIZADA", 0, 0, 'L');
 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');