Browse Source

Correção na data informada para assinatura automática

MOODLE_37_STABLE
Matheus Garcia 4 years ago
parent
commit
11c6cbf704
  1. 3
      type/ILB_flex/certificate.php

3
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);

Loading…
Cancel
Save