FHM08062601IBL - fix nama tabel s_systems ke conf_systems di Rpt_lab_result

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sas.fajri
2026-06-09 08:41:55 +07:00
parent 1cce2b52dc
commit 910e1cd08a

View File

@@ -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'] ?? '');