diff --git a/Modules/Internal/Http/Controllers/Api/LivechatController.php b/Modules/Internal/Http/Controllers/Api/LivechatController.php index 6c78e9fb..86e73f23 100644 --- a/Modules/Internal/Http/Controllers/Api/LivechatController.php +++ b/Modules/Internal/Http/Controllers/Api/LivechatController.php @@ -164,7 +164,7 @@ class LivechatController extends Controller $sheet->setCellValue('A' . $startFrom, $indexLiveChat + 1); $sheet->setCellValue('B' . $startFrom, $liveChat->nID ?? '-'); $sheet->setCellValue('C' . $startFrom, Carbon::parse($liveChat->dCreateOn)->format('d-m-Y')); - $sheet->setCellValue('D' . $startFrom, Carbon::parse($liveChat->dCreateOn)->format('H:m:i')); + $sheet->setCellValue('D' . $startFrom, Carbon::parse($liveChat->dCreateOn)->format('H:i:s')); // $sheet->setCellValue('D' . $startFrom, Carbon::parse($liveChat->dRequestTime)->format('H:i:s')); $sheet->setCellValue('E' . $startFrom, $liveChat->healthCare->sHealthCare ?? '-'); $sheet->setCellValue('F' . $startFrom, $fullNameDoctor); diff --git a/Modules/Internal/Transformers/LivechatResource.php b/Modules/Internal/Transformers/LivechatResource.php index 013e5729..4b11e467 100644 --- a/Modules/Internal/Transformers/LivechatResource.php +++ b/Modules/Internal/Transformers/LivechatResource.php @@ -29,8 +29,8 @@ class LivechatResource extends JsonResource . ' ' . $this->appointment->appointmentDetail->tTimeAppointment : null, 'status_appointment' => $this->appointment->paymentStatus ?? null, - 'date_created' => Carbon::parse($this->dRequestTime)->format('d-m-Y') ?? null, - 'time_request' => Carbon::parse($this->dRequestTime)->format('H:i:s') ?? null, + 'date_created' => Carbon::parse($this->dCreateOn)->format('d-m-Y') ?? null, + 'time_request' => Carbon::parse($this->dCreateOn)->format('H:i:s') ?? null, 'patient_media' => $this->sMedia ?? null, 'doctor_media' => $this->sMediaDokter ?? null, 'appointment_media' => $this->appointment->sMedia ?? null, diff --git a/frontend/dashboard/src/pages/Report/Livechat/List.tsx b/frontend/dashboard/src/pages/Report/Livechat/List.tsx index 6ca8e5bf..48626fdd 100644 --- a/frontend/dashboard/src/pages/Report/Livechat/List.tsx +++ b/frontend/dashboard/src/pages/Report/Livechat/List.tsx @@ -262,12 +262,12 @@ export default function List() { {row.speciality ? row.speciality : '-'} {row.pasien_name ? row.pasien_name : '-'} {row.pasien_phone ? row.pasien_phone : '-'} - {row.appointment_media ? row.appointment_media : '-'} + {/* {row.appointment_media ? row.appointment_media : '-'} */} {row.patient_media ? row.patient_media : '-'} {row.doctor_media ? row.doctor_media : '-'} - + {/* {row.status_appointment ? row.status_appointment : '-'} - + */} {row.status_chat ? row.status_chat : '-'} @@ -477,10 +477,10 @@ export default function List() { {/* */} - Tanggal Request + Tanggal - Waktu Request + Waktu Faskes @@ -497,9 +497,9 @@ export default function List() { No Telepon Pasien - + {/* Appointment Via App/Website - + */} Chat Via App/Website - + {/* Status Appointment - + */} - Status Chat + Status