{% extends "brickwork/shell/app.html" %} {% comment %} A this-versus-that DATA comparison: two measured periods (or regions, cohorts, suppliers) set side by side on real quantitative metrics, with deltas. COPY THIS FILE into your project and edit it. It is not on the template loader path, so you cannot extend it (ADR-056). What your view must supply: nav_items / nav_active as in list.html Everything else is typed straight into the template: the two columns being compared, every metric row, and every delta. Replace the entities and the figures; keep the structure. HOW THIS DIFFERS FROM sections/pricing/comparison-table.html. That section is a MARKETING pricing table: it sits under a pricing page's tier cards and answers "what does the cheaper plan give up", a tick-or-dash reference the reader consults once they have already decided between two products you are selling. Its cells are inclusion/exclusion facts, not measurements, and it owns the first-class bw-comparison-table* surface (#626) built for exactly that job: a scrollable, capability-by-plan grid. This page is different in kind, not just in content. It compares two MEASURED ENTITIES (here, two quarters) on QUANTITATIVE metrics, where the reader's job is analysis, not purchase: which one is bigger, by how much, and in which direction. Reusing the marketing comparison table's bw-comparison-table* classes here would be wrong even if the markup looked similar, because that CSS is that component's own surface (the design bar's bespoke-CSS rule cuts the other way too: do not repurpose one component's private classes as if they were a second, general-purpose component). This page reaches its layout through ordinary tables, bw-prose and _trend_indicator.html instead, nothing that belongs to another component. Use this page for: two accounting periods, two regions, two cohorts, two suppliers, anywhere the comparison is numbers with a direction. Use the pricing section instead for: plan tiers you are selling, where the answer to each row is included or not included. MEANING NEVER RIDES ON COLOUR ALONE. Every delta in this page renders through _trend_indicator.html, which ALWAYS pairs a decorative glyph with visually hidden "increased"/"decreased"/"unchanged" text, so the direction reaches a screen reader in words regardless of whether the caller supplies a visible label. Colour is reinforcement on top of that, never the only signal. States: none: a static comparison, no sort/filter/select state. Accessibility: inherits shell/app.html's skip link, sidebar/drawer nav and page-header region. Each comparison table is a real
| Metric | Q1 2026 | Q2 2026 | Change |
|---|---|---|---|
| Revenue billed | £559,900 | £612,400 | {% include "brickwork/components/_trend_indicator.html" with trend="up" trend_label="9.4%" %} |
| Invoices raised | 1,304 | 1,486 | {% include "brickwork/components/_trend_indicator.html" with trend="up" trend_label="14.0%" %} |
| Average order value | £429.30 | £412.10 | {% include "brickwork/components/_trend_indicator.html" with trend="down" trend_label="4.0%" %} |
| Average days to pay | 20.8 days | 18.2 days | {% include "brickwork/components/_trend_indicator.html" with trend="down" trend_label="2.6 days lower, which is better" %} |
| Overdue balance | £44,900 | £41,900 | {% include "brickwork/components/_trend_indicator.html" with trend="down" trend_label="6.7% lower, which is better" %} |
| Refund rate | 1.8% | 2.3% | {% include "brickwork/components/_trend_indicator.html" with trend="up" trend_label="0.5 points higher, which is worse" %} |
The North's growth rate fell behind the other three regions this quarter, worth a look alongside the account-level detail in the full report.
| Region | Q1 2026 | Q2 2026 | Change |
|---|---|---|---|
| South | £223,100 | £248,100 | {% include "brickwork/components/_trend_indicator.html" with trend="up" trend_label="11.2%" %} |
| Midlands | £174,700 | £189,700 | {% include "brickwork/components/_trend_indicator.html" with trend="up" trend_label="8.6%" %} |
| North | £123,900 | £132,400 | {% include "brickwork/components/_trend_indicator.html" with trend="up" trend_label="6.9%" %} |
| Wales and South West | £38,200 | £42,200 | {% include "brickwork/components/_trend_indicator.html" with trend="up" trend_label="10.5%" %} |
Every region grew. The North's 6.9% is the slowest of the four and the only one below the company-wide 9.4%, which is why it gets its own section in the full quarterly report rather than a footnote here.