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,
|
label: localeData.txtServiceType,
|
||||||
isSort: true,
|
isSort: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'log_type',
|
||||||
|
align: 'center',
|
||||||
|
label: 'LOG Type',
|
||||||
|
isSort: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'discharge_date',
|
id: 'discharge_date',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@@ -447,6 +453,24 @@ export default function TableListFinalLog() {
|
|||||||
Pending
|
Pending
|
||||||
</Label>
|
</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:
|
submission_date:
|
||||||
<Label>
|
<Label>
|
||||||
{obj.submission_date ? fDateTime(obj.submission_date) : ''}
|
{obj.submission_date ? fDateTime(obj.submission_date) : ''}
|
||||||
|
|||||||
Reference in New Issue
Block a user