export const orderDashboardApp = { name: 'order-dashboard', description: 'Dashboard showing order overview and recent orders', async render(context: any, data: any) { const { orders = [], stats = {} } = data; return `
| Order # | Customer | Date | Total | Status | Actions |
|---|---|---|---|---|---|
| #${order.orderNumber} | ${order.customerEmail} | ${new Date(order.createdOn).toLocaleDateString()} | ${order.grandTotal.currency} ${order.grandTotal.value} | ${order.fulfillmentStatus} |