From 094dbd4a60998c4f9c4b785fd197d785f499eb09 Mon Sep 17 00:00:00 2001 From: Saketh1499 Date: Wed, 11 Aug 2021 10:14:41 +0530 Subject: Remvoing semester details --- pdf/generate_pdf.inc | 10 +++++----- pdf/verify_lab_migration_certificates.inc | 2 -- 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 .= "" . $data2->name_title . " " . $data2->name . ""; $page_content .= "Department"; $page_content .= "" . $data2->department . ""; - $page_content .= "Semester Details"; - $page_content .= "" . $data2->semester_details . ""; $page_content .= "Institute Name"; $page_content .= "" . $data2->institute_name . ""; $page_content .= "Institute Address"; -- cgit