feat: add withdraw request functionality and UI components

This commit is contained in:
2026-08-27 02:39:57 +03:30
parent aeef95339d
commit 4ce663c669
115 changed files with 4064 additions and 315 deletions
@@ -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,
}
]