feat: add withdraw request functionality and UI components
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import { modalityTitle } from './fastRequestOptions'
|
||||
import { convertEnglishToPersian } from '../utils/numberUtils'
|
||||
|
||||
export const reportColumns = [
|
||||
{
|
||||
title: 'شماره پرونده',
|
||||
key: 'code',
|
||||
render: (row) => row.document?.code || '-'
|
||||
},
|
||||
{
|
||||
title: 'نوع درخواست',
|
||||
key: 'modality',
|
||||
render: (row) => row.document ? modalityTitle(row.document.modality) : '-'
|
||||
},
|
||||
{
|
||||
title: 'وضعیت گزارش',
|
||||
key: 'status'
|
||||
},
|
||||
{
|
||||
title: 'پزشک',
|
||||
key: 'doctor',
|
||||
render: (row) => row.doctor || '-'
|
||||
},
|
||||
{
|
||||
title: 'تاریخ ثبت گزارش',
|
||||
key: 'submitted_at',
|
||||
render: (row) => row.submitted_at ? convertEnglishToPersian(row.submitted_at) : '-'
|
||||
},
|
||||
{
|
||||
title: '',
|
||||
key: 'actions',
|
||||
width: 80,
|
||||
style: 'grid grid-cols-1',
|
||||
slot: true,
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user