{{ menuItems.find(item => item.id === currentView)?.name || 'Dashboard' }}
Pending Approval
{{ pendingApprovalCount }}
Ready to Sign
{{ approvedCount }}
Signed Orders
{{ signedCount }}
Total Patients
{{ patientsCount }}
Orders Pending Approval
Review and approve or decline patient orders
| Order ID | Patient | Items | Created | Actions |
|---|---|---|---|---|
|
{{ order.id.substring(0, 8) }}...
|
{{ order.user?.name || 'Unknown' }}
{{ order.user?.email || order.userId }}
|
{{ order.items?.length || 0 }} items | {{ formatDate(order.createdAt) }} |
Order ID
{{ order.id.substring(0, 8) }}...
Patient
{{ order.user?.name || 'Unknown' }}
{{ order.user?.email || order.userId }}
Items
{{ order.items?.length || 0 }} items
Created
{{ formatDate(order.createdAt) }}
Approved Orders - Ready to Sign
Create signature requests for approved orders
| Order ID | Patient | Items | Approved | Actions | |
|---|---|---|---|---|---|
|
{{ order.id.substring(0, 8) }}...
|
{{ order.user?.name || 'Unknown' }}
{{ order.user?.email || order.userId }}
|
{{ order.items?.length || 0 }} items | {{ formatDate(order.updatedAt) }} |
Order ID
{{ order.id.substring(0, 8) }}...
Patient
{{ order.user?.name || 'Unknown' }}
{{ order.user?.email || order.userId }}
Items
{{ order.items?.length || 0 }} items
Approved
{{ formatDate(order.updatedAt) }}
Signed Orders
Orders that have been signed and processed
| Order ID | Patient | Items | Signed | Actions |
|---|---|---|---|---|
|
{{ order.id.substring(0, 8) }}...
|
{{ order.user?.name || 'Unknown' }}
{{ order.user?.email || order.userId }}
|
{{ order.items?.length || 0 }} items | {{ formatDate(order.updatedAt) }} |
Order ID
{{ order.id.substring(0, 8) }}...
Patient
{{ order.user?.name || 'Unknown' }}
{{ order.user?.email || order.userId }}
Items
{{ order.items?.length || 0 }} items
Signed
{{ formatDate(order.updatedAt) }}
Patients
View your patients and their order history
| Patient | Total Orders | Last Order | Actions |
|---|---|---|---|
|
{{ patient.user?.name || 'Unknown' }}
{{ patient.user?.email || patient.userId }}
|
{{ patient.orders.length }} | {{ formatDate(patient.orders[0]?.createdAt) }} |