# NGBVD UI, Dashboard, Data Entry and Permissions Patch

## Key fixes
- Replaced fragile DataTables auto-initialization with safe table detection to prevent incorrect column count popups.
- Restored Highcharts dashboard visualizations with drill-down on Districts with Highest Incident Rates.
- Added more dashboard stat tiles: Reported Cases, Incident Records, Referred Cases, Reporting Districts.
- Balanced data-entry spacing and restored white/card-based form sections.
- Added repeatable rows for Perpetrator, Witness, Action Taken and Case Status sections.
- Made profiled case preview read-only when opened from the modal and added a government-branded printable PDF report view.
- Added configurable role permissions by module/action.
- Added per-user theme templates and custom color settings.
- Expanded the offline import template heading structure and duplicate checks.

## Migration
Run on staging first:

php artisan migrate --path=database/migrations/2026_06_03_000030_create_role_permissions_table.php

Administrator users bypass permission checks, so you should not be locked out while configuring roles.
