pub fn render_schedule_d(
year: i32,
totals: &ScheduleDTotals,
outcome: &TaxOutcome,
) -> StringExpand description
P2-B Task 3: render the RAW pre-netting Schedule D part totals (Part I ST, Part II LT) for
year, mirroring render_tax_outcome. These are the Form 8949/Schedule D part totals BEFORE
§1222/§1211/§1212 netting + carryforward — that netting is applied in the tax computation
(report --tax-year), and the netted figures are shown by render_tax_outcome above.
When outcome is Computed, the standard netting note is shown. When outcome is
NotComputable, a caveat is printed instead: the raw totals are valid disposal sums but are
informational — no netting or carryforward is applied because the tax is not computable.
The raw totals are ALWAYS shown (never suppressed); only the trailing note differs.