update time
This commit is contained in:
@@ -143,8 +143,9 @@ class LivechatController extends Controller
|
|||||||
|
|
||||||
$sheet->setCellValue('A' . $startFrom, $indexLiveChat + 1);
|
$sheet->setCellValue('A' . $startFrom, $indexLiveChat + 1);
|
||||||
$sheet->setCellValue('B' . $startFrom, $liveChat->nID ?? '-');
|
$sheet->setCellValue('B' . $startFrom, $liveChat->nID ?? '-');
|
||||||
$sheet->setCellValue('C' . $startFrom, Carbon::parse($liveChat->dRequestTime)->format('d-m-Y'));
|
$sheet->setCellValue('C' . $startFrom, isset($liveChat->appointment->appointmentDetail) ? Carbon::parse($liveChat->appointment->appointmentDetail->dTanggalAppointment)->format('d-m-Y') : '-');
|
||||||
$sheet->setCellValue('D' . $startFrom, Carbon::parse($liveChat->dRequestTime)->format('H:i:s'));
|
$sheet->setCellValue('D' . $startFrom, isset($liveChat->appointment->appointmentDetail) ? Carbon::parse($liveChat->appointment->appointmentDetail->tTimeAppointment)->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('E' . $startFrom, $liveChat->healthCare->sHealthCare ?? '-');
|
||||||
$sheet->setCellValue('F' . $startFrom, $liveChat->doctor->user->full_name ?? '-');
|
$sheet->setCellValue('F' . $startFrom, $liveChat->doctor->user->full_name ?? '-');
|
||||||
$sheet->setCellValue('G' . $startFrom, $liveChat->doctor->speciality->sSpesialis ?? '-');
|
$sheet->setCellValue('G' . $startFrom, $liveChat->doctor->speciality->sSpesialis ?? '-');
|
||||||
|
|||||||
Reference in New Issue
Block a user