{HeadCells.map((h, i) => (
= 3 && h !== "Name" && h !== "PDE # / barcode" ? " rcv-cell--num" : "")} style={ h === "GST" || h === "GST · Sell" ? { textAlign: "center" } : undefined}>{h}
))}
{d.lines.map((l, i) => {
const p = findP(l.productId);
const short = l.rec < l.ord;
const over = l.rec > l.ord;
const total = R.lineTotal(l);
return (
setSel(i)}>
{l.bonus ? : }
{p.sku}
{p.name} {p.strength !== "—" ? p.strength : ""}{p.pack}
{l.ord}
{l.soh.toFixed(2)}
{adv &&
{oMoney(l.expCost)}
}
{adv &&
{oMoney(l.ws1)}
}
{adv &&
{oMoney(l.last)}
}
{adv &&
{oMoney(l.cost)}
}
{l.markup.toFixed(1)}%
e.stopPropagation()}>
{l.gst ? "Y" : "N"}
{oMoney(l.sell)}
{oMoney(total)}
);
})}