From 11c6cbf704d0c531c07b8895d6b3173ddc3b8650 Mon Sep 17 00:00:00 2001 From: Matheus Garcia Date: Tue, 22 Jun 2021 13:25:35 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20na=20data=20informada=20pa?= =?UTF-8?q?ra=20assinatura=20autom=C3=A1tica?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- type/ILB_flex/certificate.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/type/ILB_flex/certificate.php b/type/ILB_flex/certificate.php index 2b0ef06..2aba729 100644 --- a/type/ILB_flex/certificate.php +++ b/type/ILB_flex/certificate.php @@ -55,6 +55,7 @@ if ($certificate->datefmt == 1) { } $start_date = userdate($start_date, $fmt); +$cert_date = $end_date; $end_date = userdate($end_date, $fmt); $emissao_date = userdate($emissao_date, $fmt); @@ -150,7 +151,7 @@ $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, '', '', $emissao_date); +certificate_print_image($pdf, $certificate, CERT_IMAGE_SIGNATURE, $sigx, $sigy, '', '', $cert_date); // Add text $pdf->SetTextColor(0, 0, 0);