add patatt to pat_show
This commit is contained in:
parent
532cde9ca0
commit
2d053e88c3
@ -117,6 +117,13 @@ class Patient extends Controller {
|
||||
->get()
|
||||
->getResultArray();
|
||||
$patient['Identity'] = $patidt == [] ? null : $patidt[0];
|
||||
|
||||
$patatt = $this->db->table('patatt')
|
||||
->select('Address')
|
||||
->where('InternalPID', (int) $InternalPID)
|
||||
->get()
|
||||
->getResultArray();
|
||||
$patient['Attachments'] = $patatt == [] ? null : $patatt;
|
||||
}
|
||||
|
||||
// Data pasien ditemukan dan mengembalikan - success 200
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user