From 61a9f220519c60eb77ee75c6485588eb4a730a71 Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Thu, 28 May 2026 14:50:39 +0700 Subject: [PATCH] FDQPV5 - format sample only time --- .../mockup/patientlistbarcode-vv-7-cpone-promise/Patient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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