summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaketh14992021-07-28 18:35:08 +0530
committerSaketh14992021-07-28 18:35:08 +0530
commit2461ab7f94663e2e5add018731231b84d5b0200e (patch)
tree2a2f1a24cba2f6b32977c24facff06665f463223
parent6be8872ca50144293edc84af7b53c6919442591f (diff)
downloadesim_lab_migration-2461ab7f94663e2e5add018731231b84d5b0200e.tar.gz
esim_lab_migration-2461ab7f94663e2e5add018731231b84d5b0200e.tar.bz2
esim_lab_migration-2461ab7f94663e2e5add018731231b84d5b0200e.zip
Certificate generation
-rw-r--r--pdf/generate_pdf.inc4
-rwxr-xr-xpdf/images/bottom_line1.pngbin0 -> 17983 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index ed2cbfc..915e515 100644
--- a/pdf/generate_pdf.inc
+++ b/pdf/generate_pdf.inc
@@ -105,7 +105,7 @@ function generate_lm_pdf()
{
$UniqueString = $DBString;
}
- $codeContents = "https://esim.fossee.in/lab-migration/certificates/verify/" . $UniqueString;
+ $codeContents = "https://esim.fossee.in/lab_migration/certificate/verify/" . $UniqueString;
$fileName = 'generated_qrcode.png';
$pngAbsoluteFilePath = $tempDir . $fileName;
$urlRelativeFilePath = $path . "/pdf/temp_prcode/" . $fileName;
@@ -125,7 +125,7 @@ function generate_lm_pdf()
//$pdf->SetX(29);
//$pdf->SetY(-50);
$pdf->Ln(2);
- $ftr_line = $path . "/pdf/images/bottom_line.png";
+ $ftr_line = $path . "/pdf/images/bottom_line1.png";
$pdf->Image($ftr_line, $pdf->GetX()+50, $pdf->GetY()+102, 150, 0);
$pdf->SetFont('Times', 'I', 14);
$pdf->SetLeftMargin(40);
diff --git a/pdf/images/bottom_line1.png b/pdf/images/bottom_line1.png
new file mode 100755
index 0000000..478dc8e
--- /dev/null
+++ b/pdf/images/bottom_line1.png
Binary files differ