# RAMA AG — Phase 08 — SMGV Admin Dashboard

Status: **DONE** (branch `develop/v1`; not yet activated on `:3400`).

## Implemented features
- `/smgv`: year and month selection, search, status filter, quick link to exports.
- 11 KPIs: employees, target hours, recorded hours, productive hours, travel, balance, vacation, absences, open and closed months, items to review.
- Employee accounting table (Pensum, target, actual, productive, travel, balance, vacation, absences, status) with drill-down to the monthly and annual pages.
- Compact cumulative-balance trend chart (SVG line reveal, highlighted selected month).

## Modified / added files
`app/Livewire/Smgv/Overview.php`, `resources/views/livewire/smgv/overview.blade.php`, `resources/views/smgv/page.blade.php`, `resources/views/components/bt/*.blade.php`

## Database changes
None.

## Test results
Unit `tests/Unit/SmgvTimeEngineTest.php` (8), feature `tests/Feature/SmgvAccountingTest.php` (8), `tests/Feature/SmgvCenterTest.php` (6). Full regression: main 562 (464 passed, 98 skipped by design), memory 97 (96 + 1 skipped), upgrade 2: **0 failures**.

## Security considerations
All user-facing actions are Administrator-only: `admin` route middleware plus a fresh database check on every Livewire request (`SmgvContext::bootSmgvContext`) and a service-level `Actor::admin()`. Audit entries never contain personal values (no AHV, address or birth date). Isolation is unchanged: RAMA database and account only, no outbound mail or HTTP, and Quality was never touched.

## Technical decisions, assumptions and limitations
See `RAMA_AG_MASTER_DEVELOPMENT_TRACKER.md` (Decisions, Known limitations).

## Outstanding blockers
The GAV/SMGV rule confirmations listed in `RAMA_AG_MASTER_DEVELOPMENT_TRACKER.md` remain open. Until they are answered, values are drafts (watermarked, with banners).
