Buyer
Trade In
window.saveJbFormField && window.saveJbFormField(BO_FORM, "tradeLien", v)} />
{negEquity > 0 ? (
Negative equity (financed)
{bo$(negEquity)}
) : (boNum(d, "tradeAllow") - boNum(d, "tradePayoff")) > 0 ? (
Trade equity (applied as down)
{bo$(boNum(d, "tradeAllow") - boNum(d, "tradePayoff"))}
) : null}
Vehicle Purchased
go && go("inventory")}>Lookup
Odometer
Pricing
{/* RC27 (dsk): customer-facing lines the desk's Profit panel sends — never a cost the store pays */}
{boNum(d, "downAssist") > 0 &&
of which: down payment assistance from the dealer{bo$(boNum(d, "downAssist"))}
}
{boNum(d, "downAssist") > 0 &&
cash paid by the purchaser{bo$(Math.max(0, boNum(d, "cashDown") - boNum(d, "downAssist")))}
}
{boNum(d, "lenderFeeCust") > 0 &&
Lender fee (paid by the purchaser){bo$(boNum(d, "lenderFeeCust"))}
}
Protection Products (from desked option{d.scenario ? " " + d.scenario : ""})
{/* Plan 1 = the legacy serviceContract / serviceContractCode fields; plans 2-3
(and 4-5 when the desk sent them) come as planNCode / planNName / planNPrice.
Empty slots show a dash so it is obvious nothing was sold there. */}
{["", "Code", "Plan", ""].map((h, i) => {h})}
{[1, 2, 3, 4, 5].filter(n => n <= 3 || boPlanPrice(d, n) || (n === 1 ? d.serviceContractCode : d[`plan${n}Code`])).map(n => {
const codeField = n === 1 ? "serviceContractCode" : `plan${n}Code`;
const priceField = n === 1 ? "serviceContract" : `plan${n}Price`;
const has = !!(boPlanPrice(d, n) || d[codeField]);
return (
Plan {n}
{n === 1
?
: <>
>}
);
})}
GAP Insurance
Plans {bo$(boPlansTotal(d))}+ GAP {bo$(boNum(d, "gapIns"))}= {bo$(boPlansTotal(d) + boNum(d, "gapIns"))}
{isLease ? (
LEASE
Due at Signing
{bo$(leaseDue)}
Monthly incl. tax
{bo$(leaseMonthly)}{d.leaseTerm ? × {d.leaseTerm} : null}
rerender()}>↻
) : cashBO ? (
Balance Due — cash deal
total {bo$(cashBO.fig.totalDue)} − received {cashBO.fig.legacy ? "(not recorded)" : bo$(cashBO.fig.received)}
{bo$(cashBO.fig.balanceDue)}
rerender()}>↻
) : (
Balance to Finance
{balanceFmt}
rerender()}>↻
)}