diff --git a/src/components/assistant/DoormileAI/AIMessage.jsx b/src/components/assistant/DoormileAI/AIMessage.jsx index a619585..5559eb3 100644 --- a/src/components/assistant/DoormileAI/AIMessage.jsx +++ b/src/components/assistant/DoormileAI/AIMessage.jsx @@ -6,6 +6,7 @@ import { LuChevronDown } from 'react-icons/lu'; import { HStack } from '@astryxdesign/core/HStack'; import { VStack } from '@astryxdesign/core/VStack'; import { Text } from '@astryxdesign/core/Text'; +import { IconButton } from '@astryxdesign/core/IconButton'; import { Button } from '@/components/ui/button'; import { ChatToolCalls } from '@astryxdesign/core/Chat'; diff --git a/src/pages/doormile/orders/MultipleOrders.jsx b/src/pages/doormile/orders/MultipleOrders.jsx index 9595789..ac16cf9 100644 --- a/src/pages/doormile/orders/MultipleOrders.jsx +++ b/src/pages/doormile/orders/MultipleOrders.jsx @@ -852,27 +852,27 @@ export default function MultipleOrders() { ) : previewMode === 'preview' ? ( /* Raw spreadsheet preview table */
| # | -Customer | -Phone | -Address | -City | -Qty | +# | +Customer | +Phone | +Address | +City | +Qty | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {idx + 1} | -{row.firstname || '—'} | -{row.contactno || '—'} | -+ | {idx + 1} | +{row.firstname || '—'} | +{row.contactno || '—'} | +{row.address || '—'} | -{row.city || '—'} | -{row.quantity || 1} | +{row.city || '—'} | +{row.quantity || 1} |
| # | -Customer | -Address | -Qty | -Cash (₹) | -Km | -Charge | -+ | # | +Customer | +Address | +Qty | +Cash (₹) | +Km | +Charge | +|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {idx + 1} | -
- {row.firstname || '—'}
- {row.contactno || '—'}
+ | {idx + 1} | +
+ {row.firstname || '—'}
+ {row.contactno || '—'}
|
- + |
{needsAddress ? (
+
{row.address}
)}
|
- + | handleUpdateDropField(row._rowkey, 'quantity', Number(e.target.value) || 1) } - className="w-12 h-7 text-center font-mono text-xs border border-slate-200 rounded focus:outline-none focus:border-black" + className="w-14 h-8 text-center font-bold text-slate-900 bg-white border border-slate-300 rounded-md focus:outline-none focus:ring-2 focus:ring-black/10 focus:border-black shadow-2xs" /> | -+ | handleUpdateDropField(row._rowkey, 'collectionamt', Number(e.target.value) || 0) } - className="w-20 h-7 text-center font-mono text-xs border border-slate-200 rounded focus:outline-none focus:border-black" + className="w-20 h-8 text-center font-bold text-slate-900 bg-white border border-slate-300 rounded-md focus:outline-none focus:ring-2 focus:ring-black/10 focus:border-black shadow-2xs" /> | -- {row.distance ? `${row.distance}` : '—'} + | + {row.distance ? `${row.distance} km` : '—'} | -+ | ₹{Number(row.totalcharge || 0).toFixed(2)} | -+ |