# XWUIOpsCommercialDealsPage

The OPFlow Deals & Contracts ledger: an `XWUIShellPage` wrapping a 10-column `XWUIDataGrid` (Deal Name / Client / Category / Projected Revenue / Production Cost / Profit / Pipeline Status / Year / Projects / Actions), with a "+ New Deal" toolbar button and a filter row of search plus Year / Pipeline Status / Client dropdowns. Currency columns are right-aligned, sortable, and rendered as "<integer> SAR"; Profit is color-coded green when positive and red when negative; Pipeline Status is a badge over the `lead` / `high-lead` / `proposed` / `confirmed` / `completed` / `invoiced` / `cancelled` enum. Use it as the master list of macro-level commercial agreements.

## Basic Usage

Shows the deals grid with the single canonical OPFlow deal row and the Year and Client filter dropdowns populated.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Deals grid with one row (RSL 26-2027 / Saudi Pro League, 10M projected, 1M cost, 9M profit, Completed, 2026).
```

## Pipeline Forecast

A forward-looking 2027 pipeline across multiple clients and stages, with both a positive- and a negative-profit row.

```example
file: examples/PipelineForecast.ts
html: examples/PipelineForecast.html
title: Pipeline Forecast
description: 2027 pipeline of four deals spanning Lead / High Lead / Proposed / Confirmed, including a thin-margin Formula E coverage deal and a loss-making esports lead.
```

## Closed-Book Review

A year-end retrospective where every 2025 deal sits in a terminal state, including a cancelled bid written off at a loss.

```example
file: examples/ClosedBookReview.ts
html: examples/ClosedBookReview.html
title: Closed-Book Review
description: Resolved 2025 deals in Completed / Invoiced / Cancelled states, including a withdrawn marathon bid with zero revenue and a negative profit against sunk cost.
```

```api
```
