@extends('layouts.user', ['heading' => 'Compliance', 'subheading' => 'GDPR and communication consent controls']) @section('content')
GDPR Consent Manager
@foreach(['privacy_policy' => 'Privacy Policy', 'data_processing' => 'Data Processing', 'marketing_communication' => 'Marketing Communication'] as $key => $label) @php $consent = $consents->get($key); @endphp
@csrf
{{ $label }}
Current: {{ $consent && $consent->consent_granted ? 'Granted' : 'Not Granted' }}
@endforeach
@endsection