Feat: Recording Legal Acceptance

This commit is contained in:
2026-09-25 15:19:39 +03:00
parent 935b1d02f9
commit 01c49485be
4 changed files with 73 additions and 0 deletions
@@ -66,6 +66,9 @@ class CustomerDataProvider implements PersonalDataProvider
'id' => $user->id,
'name' => $user->name,
'email' => $user->email,
'terms_accepted_at' => $user->terms_accepted_at,
'terms_version' => $user->terms_version,
'privacy_policy_version' => $user->privacy_policy_version,
'customers' => $user->customers->map(fn (Customer $customer) => [
'id' => $customer->id,
'company_name' => $customer->company_name,