FHM09062601IBL - samplingcall: decrypt PDP fields (nama, HP, email, DOB) di hasil search
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -397,6 +397,12 @@ INSERT INTO `t_samplestation` (`T_SampleStationID`, `T_SampleStationCode`, `T_Sa
|
||||
if ($key + 1 != $count_arr) {
|
||||
$rows[$key]['skip_time'] = $rows[$key + 1]['antri_time'];
|
||||
}
|
||||
$enc = $this->ibl_encryptor;
|
||||
$rows[$key]['M_PatientName'] = $enc->decrypt($value['M_PatientName_enc'] ?? '') ?: $value['M_PatientName'];
|
||||
$rows[$key]['M_PatientHP'] = $enc->decrypt($value['M_PatientHP_enc'] ?? '') ?: $value['M_PatientHP'];
|
||||
$rows[$key]['M_PatientEmail'] = $enc->decrypt($value['M_PatientEmail_enc'] ?? '') ?: $value['M_PatientEmail'];
|
||||
$rows[$key]['M_PatientDOB'] = $enc->decrypt($value['M_PatientDOB_enc'] ?? '') ?: $value['M_PatientDOB'];
|
||||
$rows[$key]['patient_fullname'] = trim(($value['M_TitleName'] ?? '') . ' ' . $rows[$key]['M_PatientName']);
|
||||
if($value['is_clinic'] == 'Y'){
|
||||
//print_r($value);
|
||||
$sql = "SELECT ScreeningParameterDisplay as display
|
||||
|
||||
Reference in New Issue
Block a user