Update perbaikan query custodian
This commit is contained in:
parent
fb9be5f40f
commit
9dc3bbcca5
@ -103,7 +103,7 @@ class Patient extends Controller {
|
|||||||
|
|
||||||
$patientCustodian = $this->db->table('patient')
|
$patientCustodian = $this->db->table('patient')
|
||||||
->select('InternalPID, PatientID')
|
->select('InternalPID, PatientID')
|
||||||
->whereIn('InternalPID', (int) $InternalPID)
|
->where('InternalPID', (int) $InternalPID)
|
||||||
->get()
|
->get()
|
||||||
->getResultArray();
|
->getResultArray();
|
||||||
$patient["Custodian"] = $patientCustodian == [] ? null : $patientCustodian[0];
|
$patient["Custodian"] = $patientCustodian == [] ? null : $patientCustodian[0];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user