From 2dad5df0fcd75597b23c4bc9f4acd9bb1e8c2ce2 Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Sun, 24 May 2026 18:37:13 +0700 Subject: [PATCH] Use localhost for QR reports --- .../process/westone_resultvalidation-ibl/Rv_patient.php | 4 ++-- .../mockup/resultentrysoelectromedis-westone/Resultentry.php | 4 ++-- .../mockup/resultentrysoothers-cpone-v9/Resultentry.php | 2 +- .../mockup/resultentrysoxray-westone/Resultentry.php | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/application/controllers/mockup/process/westone_resultvalidation-ibl/Rv_patient.php b/application/controllers/mockup/process/westone_resultvalidation-ibl/Rv_patient.php index 1aba6227..65bc7537 100644 --- a/application/controllers/mockup/process/westone_resultvalidation-ibl/Rv_patient.php +++ b/application/controllers/mockup/process/westone_resultvalidation-ibl/Rv_patient.php @@ -228,8 +228,8 @@ class Rv_patient extends MY_Controller $this->sys_error_db('error m_branch', $this->db_smartone); exit; } - $branch = $qry_branch->row_array(); - $base = "http://" . $branch['M_BranchIPAddress'] . "/"; + $branch = $qry_branch->row_array(); + $base = "http://localhost/"; // Tambah base_url di depan $full_url = $base . ltrim($template_url, '/'); diff --git a/application/controllers/mockup/resultentrysoelectromedis-westone/Resultentry.php b/application/controllers/mockup/resultentrysoelectromedis-westone/Resultentry.php index 84868739..81ca6c76 100644 --- a/application/controllers/mockup/resultentrysoelectromedis-westone/Resultentry.php +++ b/application/controllers/mockup/resultentrysoelectromedis-westone/Resultentry.php @@ -1717,8 +1717,8 @@ class Resultentry extends MY_Controller $this->sys_error_db('error m_branch', $this->db_onedev); exit; } - $branch = $qry_branch->row_array(); - $base = "http://" . $branch['M_BranchIPAddress'] . "/"; + $branch = $qry_branch->row_array(); + $base = "http://localhost/"; // ambil endpoint URL dari DB $sql_url = "SELECT QR_ReportEndpointID, diff --git a/application/controllers/mockup/resultentrysoothers-cpone-v9/Resultentry.php b/application/controllers/mockup/resultentrysoothers-cpone-v9/Resultentry.php index 06e96645..927d7720 100644 --- a/application/controllers/mockup/resultentrysoothers-cpone-v9/Resultentry.php +++ b/application/controllers/mockup/resultentrysoothers-cpone-v9/Resultentry.php @@ -5461,7 +5461,7 @@ class Resultentry extends MY_Controller exit; } $branch = $qry_branch->row_array(); - $base = "http://" . $branch['M_BranchIPAddress'] . "/"; + $base = "http://localhost/"; $sql_url = "SELECT QR_ReportEndpointID, QR_ReportEndpointUrl, diff --git a/application/controllers/mockup/resultentrysoxray-westone/Resultentry.php b/application/controllers/mockup/resultentrysoxray-westone/Resultentry.php index 64421bc4..3743de23 100644 --- a/application/controllers/mockup/resultentrysoxray-westone/Resultentry.php +++ b/application/controllers/mockup/resultentrysoxray-westone/Resultentry.php @@ -1122,8 +1122,8 @@ class Resultentry extends MY_Controller $this->sys_error_db('error m_branch', $this->db_onedev); exit; } - $branch = $qry_branch->row_array(); - $base = "http://" . $branch['M_BranchIPAddress'] . "/"; + $branch = $qry_branch->row_array(); + $base = "http://localhost/"; // ambil endpoint URL dari DB $sql_url = "SELECT QR_ReportEndpointID,