feat: add log type column to final log table

This commit is contained in:
Iqbal
2026-05-05 14:07:48 +07:00
parent ff11db177f
commit 0938444926

View File

@@ -344,6 +344,12 @@ export default function TableListFinalLog() {
label: localeData.txtServiceType,
isSort: true,
},
{
id: 'log_type',
align: 'center',
label: 'LOG Type',
isSort: true,
},
{
id: 'discharge_date',
align: 'center',
@@ -447,6 +453,24 @@ export default function TableListFinalLog() {
Pending
</Label>
),
log_type:
obj.log_type === 'final' ? (
<Label color='info'>
Final
</Label>
) : obj.log_type === 'prescription' ? (
<Label color='warning'>
Prescription
</Label>
) : obj.log_type === 'reference' ? (
<Label color='secondary'>
Reference
</Label>
) : (
<Label color='default'>
-
</Label>
),
submission_date:
<Label>
{obj.submission_date ? fDateTime(obj.submission_date) : ''}