Use localhost for QR reports

This commit is contained in:
sas.fajri
2026-05-24 18:37:13 +07:00
parent d6f2f6ec4e
commit 2dad5df0fc
4 changed files with 7 additions and 7 deletions

View File

@@ -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, '/');

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,