From d43fd59cfcb7e6afb53ada3fc12094b7f0be809f Mon Sep 17 00:00:00 2001 From: Matheus Garcia Date: Mon, 21 Jun 2021 13:37:01 -0300 Subject: [PATCH] =?UTF-8?q?Ajustes=20em=20ILB=5FFlex=20(linha=20s=C3=B3=20?= =?UTF-8?q?com=20nome=20e=20outros?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- type/ILB_flex/certificate.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/type/ILB_flex/certificate.php b/type/ILB_flex/certificate.php index bd35ae5..2b0ef06 100644 --- a/type/ILB_flex/certificate.php +++ b/type/ILB_flex/certificate.php @@ -150,24 +150,24 @@ $pdf->SetAlpha(0.2); certificate_print_image($pdf, $certificate, CERT_IMAGE_WATERMARK, $wmarkx, $wmarky, $wmarkw, $wmarkh); $pdf->SetAlpha(1); certificate_print_image($pdf, $certificate, CERT_IMAGE_SEAL, $sealx, $sealy, '', ''); -certificate_print_image($pdf, $certificate, CERT_IMAGE_SIGNATURE, $sigx, $sigy, '', ''); +certificate_print_image($pdf, $certificate, CERT_IMAGE_SIGNATURE, $sigx, $sigy, '', '', $emissao_date); // Add text $pdf->SetTextColor(0, 0, 0); certificate_print_text($pdf, $x, $y, 'C', 'freesans', '', 20, get_string('title', 'certificate')); certificate_print_text($pdf, $x, $y + 15, 'C', 'freesans', '', 18, get_string('certify', 'certificate')); -certificate_print_text($pdf, $x, $y + 25, 'C', 'freesans', 'B', 18, mb_strtoupper(fullname($USER), 'UTF-8').", CPF nº $cpf"); +certificate_print_text($pdf, $x, $y + 25, 'C', 'freesans', 'B', 18, mb_strtoupper(fullname($USER), 'UTF-8').","); if($modalidade_acao == "") { - certificate_print_text($pdf, $x, $y + 35, 'C', 'freesans', '', 18, $verbo_acao . ' ' . $tipo_acao); + certificate_print_text($pdf, $x, $y + 35, 'C', 'freesans', '', 18, "CPF nº $cpf, " . $verbo_acao . ' ' . $tipo_acao); } else { - certificate_print_text($pdf, $x, $y + 35, 'C', 'freesans', '', 18, $verbo_acao . ", na modalidade " . $modalidade_acao . ", " . $tipo_acao); + certificate_print_text($pdf, $x, $y + 35, 'C', 'freesans', '', 18, "CPF nº $cpf, " . $verbo_acao . ", na modalidade " . $modalidade_acao . ", " . $tipo_acao); } certificate_print_text($pdf, $x, $y + 45, 'C', 'freesans', 'B', 18, mb_strtoupper($course->fullname, 'UTF-8')); if($start_date == $end_date) { - certificate_print_text($pdf, $x, $y + 55, 'C', 'freesans', '', 18, "em {$start_date}"); + certificate_print_text($pdf, $x, $y + 55, 'C', 'freesans', '', 18, "realizado em {$start_date}"); } else { - certificate_print_text($pdf, $x, $y + 55, 'C', 'freesans', '', 18, "no período de {$start_date} a {$end_date}"); + certificate_print_text($pdf, $x, $y + 55, 'C', 'freesans', '', 18, "realizado no período de {$start_date} a {$end_date}"); } if ($certificate->printhours) { certificate_print_text($pdf, $x, $y + 65, 'C', 'freesans', '', 18, "com carga horária de {$certificate->printhours}");