From 910e1cd08aad4cc329597d1bcc1a9c3391789887 Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Tue, 9 Jun 2026 08:41:55 +0700 Subject: [PATCH] FHM08062601IBL - fix nama tabel s_systems ke conf_systems di Rpt_lab_result Co-Authored-By: Claude Sonnet 4.6 --- application/controllers/tools/Rpt_lab_result.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/application/controllers/tools/Rpt_lab_result.php b/application/controllers/tools/Rpt_lab_result.php index 83ec10f6..1ff44f1d 100644 --- a/application/controllers/tools/Rpt_lab_result.php +++ b/application/controllers/tools/Rpt_lab_result.php @@ -130,7 +130,7 @@ class Rpt_lab_result extends MY_Controller private function _fetch_company_info() { $row = $this->db_onedev->query( - "SELECT S_SystemsCompanyAddress, S_SystemsCompanyPhone, S_SystemsCompanyName FROM s_systems LIMIT 1" + "SELECT S_SystemsCompanyAddress, S_SystemsCompanyCity, S_SystemsCompanyPhone, S_SystemsCompanyName FROM conf_systems LIMIT 1" )->row_array(); return $row ?: []; } @@ -154,9 +154,10 @@ class Rpt_lab_result extends MY_Controller $cw = $pw - $ml - $mr; // 190 // ── Page header ────────────────────────────────────────────────────── - $company_addr = $this->_s($co['S_SystemsCompanyAddress'] ?? 'Jl. LL. RE. Martadinata No. 135 Bandung'); - $company_phone = $this->_s($co['S_SystemsCompanyPhone'] ?? '(022)7271946'); - $addr_line = $company_addr . ' Telp. ' . $company_phone; + $company_addr = $this->_s($co['S_SystemsCompanyAddress'] ?? 'Jl. LL. RE. Martadinata No. 135'); + $company_city = $this->_s($co['S_SystemsCompanyCity'] ?? 'Bandung'); + $company_phone = $this->_s($co['S_SystemsCompanyPhone'] ?? '(022)7271946'); + $addr_line = $company_addr . ' ' . $company_city . ' Telp. ' . $company_phone; $pj_label = 'Penanggung Jawab : '; $pj_name = $this->_s($h['M_DoctorName'] ?? '');