Rechtstexte und B2C-Vertragsabläufe absichern

This commit is contained in:
2026-08-22 14:31:56 +02:00
parent d320a4fd7a
commit a31a235422
58 changed files with 2502 additions and 316 deletions
+6
View File
@@ -53,6 +53,10 @@ $registration = saas_register_tenant_owner($pdo, [
'email' => $email,
'password' => $password,
'password_confirm' => $password,
'customer_type' => 'business',
'accept_terms' => true,
'acknowledge_privacy' => true,
'accept_dpa' => true,
]);
settings_check_assert('registration succeeds', $registration['ok'] === true, $failures, $passes);
@@ -79,6 +83,7 @@ if ($registration['ok']) {
// (pdf_row_height_px, payment_reminder_interval_days).
$update = saas_update_tenant_settings($pdo, $tenantId, [
'tenant_name' => 'M3 Settings Flow Updated',
'customer_type' => 'business',
'timezone' => 'Europe/Berlin',
'locale' => 'de-DE',
'currency_code' => 'EUR',
@@ -114,6 +119,7 @@ if ($registration['ok']) {
// Ab einem bezahlten Tarif entscheidet der Mandant selbst.
$paidInput = [
'tenant_name' => 'M3 Settings Flow Updated',
'customer_type' => 'business',
'timezone' => 'Europe/Berlin',
'locale' => 'de-DE',
'currency_code' => 'EUR',