From 1cd92dce7c7547930c0d6cf57f8159c23e4ba8c5 Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Wed, 19 Mar 2025 10:15:19 +0700 Subject: [PATCH] Update Laporan Hasil Agar Bisa Menampilkan sampai 27 baris test --- app/Controllers/PrintResult.php | 6 +++--- public/assets/css/pdf_new.css | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/Controllers/PrintResult.php b/app/Controllers/PrintResult.php index f58acc6..2fa4e14 100644 --- a/app/Controllers/PrintResult.php +++ b/app/Controllers/PrintResult.php @@ -784,7 +784,7 @@ class PrintResult extends BaseController { $i++; // Melebihi batas Kertas - if($i % 25 == 0) { + if($i % 27 == 0) { $resultTest .= ""; $fullPage .= $headPage.$resultTest.$footerPage.$lastDiv; $i=0; @@ -826,7 +826,7 @@ class PrintResult extends BaseController { } // Melebihi batas Kertas - if($i % 25 == 0 && $i!=0) { + if($i % 27 == 0 && $i!=0) { $resultTest .= ""; $fullPage .= $headPage.$resultTest.$footerPage.$lastDiv; $i=0; @@ -949,7 +949,7 @@ class PrintResult extends BaseController { } // Melebihi batas Kertas - if($i % 25 == 0 && $i != 0) { + if($i % 27 == 0 && $i != 0) { $resultTest .= ""; $fullPage .= $headPage.$resultTest.$footerPage.$lastDiv; $i=0; diff --git a/public/assets/css/pdf_new.css b/public/assets/css/pdf_new.css index 4bf9267..0365efe 100644 --- a/public/assets/css/pdf_new.css +++ b/public/assets/css/pdf_new.css @@ -41,7 +41,7 @@ body { margin: 0; padding: 0; /* height: 18.47cm; */ - height: 18.40cm; + height: 19cm; } .result { /* table-layout:fixed; */ @@ -151,6 +151,7 @@ tr.chapter td { .table_collection tr td{ /* font-size: 2em; */ + padding: 1px; /* border:solid 1px black; */ border: none; } @@ -169,7 +170,7 @@ tr.chapter td { border-collapse:collapse; } .table_footer tr td { - padding: 4px; + padding: 2px; border: none; /* border:solid 1px black; */ }