summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf/generate_pdf.inc10
-rwxr-xr-xpdf/verify_lab_migration_certificates.inc2
2 files changed, 5 insertions, 7 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc
index 915e515..290d638 100644
--- a/pdf/generate_pdf.inc
+++ b/pdf/generate_pdf.inc
@@ -44,17 +44,17 @@ function generate_lm_pdf()
$pdf->Ln(0);
$pdf->SetFont('Times', 'I', 16);
$pdf->SetTextColor(139, 69, 19);
- $pdf->Cell(320, 12, $data3->name_title . ' ' . $data3->name, '0', 1, 'C');
- $pdf->Ln(0);
+ $pdf->Cell(320, 8, $data3->name_title . ' ' . $data3->name, '0', '1', 'C');
+ //$pdf->Ln(0);
$pdf->SetFont('Times', 'I', 14);
$pdf->SetTextColor(0, 0, 0);
- $pdf->Cell(320, 12, 'from the Department of ' . $data3->department . ', ', '0', '1', 'C');
+ $pdf->Cell(320, 8, 'from the Department of ' . $data3->department . ', ', '0', '1', 'C');
$pdf->Ln(0);
$pdf->Cell(320, 8, $data3->institute_name . ', ' . $data3->institute_address, '0', '1', 'C');
$pdf->Ln(0);
$pdf->Cell(320, 8, ' has developed the solutions in eSim for the ', '0', '1', 'C');
$pdf->Ln(0);
- $pdf->Cell(320, 12, $data3->lab_name . ' (' . $data3->semester_details . ').', '0', '1', 'C');
+ $pdf->Cell(320, 8, $data3->lab_name , '0', '1', 'C');
$pdf->Cell(320, 5, '', '0', '1', 'C');
$pdf->SetX(125);
$pdf->SetTextColor(0, 0, 0);
@@ -115,7 +115,7 @@ function generate_lm_pdf()
$pdf->Ln(10);
$sign1 = $path . "/pdf/images/sign1.png";
//$sign2 = $path . "/pdf/images/sign2.png";
- $pdf->Image($sign1, $pdf->GetX()+110, $pdf->GetY() + 40, 85, 0);
+ $pdf->Image($sign1, $pdf->GetX()+116, $pdf->GetY() + 40, 85, 0);
//$pdf->Image($sign2, $pdf->GetX()+160, $pdf->GetY() + 45, 85, 0);
$pdf->Image($pngAbsoluteFilePath, $pdf->GetX()+15, $pdf->GetY()+70, 30, 0);
$fossee = $path . "/pdf/images/fossee.png";
diff --git a/pdf/verify_lab_migration_certificates.inc b/pdf/verify_lab_migration_certificates.inc
index 8aaeb19..4d4e758 100755
--- a/pdf/verify_lab_migration_certificates.inc
+++ b/pdf/verify_lab_migration_certificates.inc
@@ -85,8 +85,6 @@ function verify_qrcode_lm_fromdb($qr_code)
$page_content .= "<td>" . $data2->name_title . " " . $data2->name . "</td></tr>";
$page_content .= "<tr><td>Department</td>";
$page_content .= "<td>" . $data2->department . "</td></tr>";
- $page_content .= "<tr><td>Semester Details</td>";
- $page_content .= "<td>" . $data2->semester_details . "</td></tr>";
$page_content .= "<tr><td>Institute Name</td>";
$page_content .= "<td>" . $data2->institute_name . "</td></tr>";
$page_content .= "<tr><td>Institute Address</td>";