summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaketh14992021-08-11 10:14:41 +0530
committerSaketh14992021-08-11 10:14:41 +0530
commit094dbd4a60998c4f9c4b785fd197d785f499eb09 (patch)
treef929240f94a81aeca4369cd33c1ee2ef49ac9cd3
parent2ea5fde67291c53e48cdd081d4e572defcf6a4cf (diff)
downloadesim_lab_migration-094dbd4a60998c4f9c4b785fd197d785f499eb09.tar.gz
esim_lab_migration-094dbd4a60998c4f9c4b785fd197d785f499eb09.tar.bz2
esim_lab_migration-094dbd4a60998c4f9c4b785fd197d785f499eb09.zip
Remvoing semester details
-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>";