diff --git a/application/controllers/mockup/patientlistbarcode-vv-7-cpone-promise/Patient.php b/application/controllers/mockup/patientlistbarcode-vv-7-cpone-promise/Patient.php index 613ebcb..10dd75c 100644 --- a/application/controllers/mockup/patientlistbarcode-vv-7-cpone-promise/Patient.php +++ b/application/controllers/mockup/patientlistbarcode-vv-7-cpone-promise/Patient.php @@ -252,7 +252,7 @@ class Patient extends MY_Controller '' as date_coming_ina, '' as order_datetime, IFNULL(T_OrderHeaderAddOnReceiveSample, 'N') as flagSampleOnly, - IFNULL(T_OrderHeaderAddOnReceiveSampleTime, '') as sampleOnlyTime + IFNULL(DATE_FORMAT(T_OrderHeaderAddOnReceiveSampleTime, '%d-%m-%Y'), '') as sampleOnlyTime FROM t_orderheader JOIN m_patient ON T_OrderHeaderM_PatientID = M_PatientID @@ -356,7 +356,7 @@ class Patient extends MY_Controller IFNULL(M_OrderTypeName, '-') as order_type_name, IFNULL(M_OrderTypeCode, '-') as order_type_code, IFNULL(T_OrderHeaderAddOnReceiveSample, 'N') as flagSampleOnly, - IFNULL(T_OrderHeaderAddOnReceiveSampleTime, '') as sampleOnlyTime + IFNULL(DATE_FORMAT(T_OrderHeaderAddOnReceiveSampleTime, '%d-%m-%Y'), '') as sampleOnlyTime FROM t_orderheader JOIN m_patient ON T_OrderHeaderM_PatientID = M_PatientID JOIN corporate ON T_OrderHeaderCorporateID = CorporateID