This commit is contained in:
ivan-sim
2024-07-09 14:23:12 +07:00
parent d08acc5645
commit 4287f7a436
2 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ class DoctorRatingController extends Controller
// ->where('request_logs.status_final_log', '=', 'approved') // ->where('request_logs.status_final_log', '=', 'approved')
->select( ->select(
DB::connection('oldlms')->raw("CONCAT(tm_users.sFirstName, ' ', IFNULL(tm_users.sMiddleName, ''), ' ', IFNULL(tm_users.sLastName, '')) as nama_peserta"), DB::connection('oldlms')->raw("CONCAT(tm_users.sFirstName, ' ', IFNULL(tm_users.sMiddleName, ''), ' ', IFNULL(tm_users.sLastName, '')) as nama_peserta"),
'tx_dokter_rating.nRating', 'tx_dokter_rating.nRating as rating',
'tx_dokter_rating.sNotes', 'tx_dokter_rating.sNotes',
'tx_dokter_rating.dCreateOn', 'tx_dokter_rating.dCreateOn',
DB::connection('oldlms')->raw(" DB::connection('oldlms')->raw("

View File

@@ -575,7 +575,7 @@ import {
isSort: false, isSort: false,
}, },
{ {
id: 'tanggal_konsultasi', id: 'dCreateOn',
align: 'left', align: 'left',
label: 'Tanggal Konsultasi', label: 'Tanggal Konsultasi',
isSort: true, isSort: true,
@@ -632,7 +632,7 @@ import {
</TableCell> */} </TableCell> */}
<TableCell align="left">{row?.nama_peserta}</TableCell> <TableCell align="left">{row?.nama_peserta}</TableCell>
<TableCell align="left">{row?.nama_dokter}</TableCell> <TableCell align="left">{row?.nama_dokter}</TableCell>
<TableCell align="left">{row?.nRating}</TableCell> <TableCell align="left">{row?.rating}</TableCell>
<TableCell align="left" sx={{maxWidth:250}}>{row?.sNotes}</TableCell> <TableCell align="left" sx={{maxWidth:250}}>{row?.sNotes}</TableCell>
<TableCell align="left">{row?.dCreateOn ? fDateTime(row?.dCreateOn) : ''}</TableCell> <TableCell align="left">{row?.dCreateOn ? fDateTime(row?.dCreateOn) : ''}</TableCell>
{/* <TableCell align="left">{row?.dCreateOn ? fDateTime(row?.dCreateOn) : ''}</TableCell> */} {/* <TableCell align="left">{row?.dCreateOn ? fDateTime(row?.dCreateOn) : ''}</TableCell> */}