0
- ? [{ label: 'COD', value: money(orderTotals.cod), tone: 'warning' as const }]
- : []),
{ label: 'Value', value: money(orderTotals.value), tone: 'accent' as const },
]}
/>
@@ -758,7 +771,6 @@ function OrdersTable({
| Pickup |
Drop |
Qty |
- COD |
Amount |
Status |
|
@@ -768,7 +780,6 @@ function OrdersTable({
{/* Keyed on orderheaderid, never orderid — `orderid` is not unique
in this tenant's data, a defect the old console hit first. */}
{paged.rows.map((row, index) => {
- const cod = row.collectionamt ?? 0;
const amount = orderValue(row);
const verdict = assignability(row, branchOf(row), assigned, released);
const stage = orderStage(row, stages);
@@ -841,11 +852,6 @@ function OrdersTable({
{orderQuantity(row) || '—'}
|
- {/* Only rendered when there is cash to collect — a COD column
- of dashes is a column that costs width and says nothing. */}
- 0} isMuted={cod === 0}>
- {cod > 0 ? moneyExact(cod) : '—'}
- |
0} isMuted={amount === 0}>
{amount > 0 ? moneyExact(amount) : '—'}
|