feat: add log type column to final log table
This commit is contained in:
@@ -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) : ''}
|
||||
|
||||
Reference in New Issue
Block a user