# XWUIHrGosiCompliancePage

Payroll page that tracks GOSI (General Organization for Social Insurance) registration status per legal entity. It calls `hrApi.listGosiEntities()` and renders a master toggle in the toolbar ("Deduct GOSI contributions from salaries") above a shared benefits table (`renderBenTable`) with columns for Organization, CR number, Employees, and a colored File status pill. Extends `HrPageBase`/`XWUIShellPage`, supports English/Arabic via the `locale` config, and constructs with `hrApiOptions` (e.g. `{ env: 'sandbox' }`).

## Basic Usage

Loads GOSI entities from the sandbox HR API and renders the salary-deduction toggle plus the per-entity registration table with organization, CR number, employee count, and file status.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Constructs XWUIHrGosiCompliancePage in sandbox mode to display the per-entity GOSI registration table and deduction toggle.
```

## Arabic locale (RTL)

Passes `{ locale: 'ar' }` with a `titleAr` so the page resolves the Arabic title (`الامتثال للتأمينات`) and renders right-to-left.

```example
file: examples/ArabicLocale.ts
html: examples/ArabicLocale.html
title: Arabic locale (RTL)
description: Arabic title via titleAr plus locale 'ar' for a right-to-left page.
```

## Constrained, centered layout

Caps the content column at 1200px, centers it, and adds roomier padding via the shell-page config.

```example
file: examples/ConstrainedLayout.ts
html: examples/ConstrainedLayout.html
title: Constrained, centered layout
description: `{ maxWidth: '1200px', centered: true, padding: '2rem' }` constrains and centers the page column.
```

```api
```
