Rechtstexte und B2C-Vertragsabläufe absichern
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user