Recht: Erloeschensklausel-Checkbox im Publikationsflow (Par. 356 BGB)

Vierte Bestaetigung im Einreichungs-Modal (sofortige Ausfuehrung,
Erloeschen des Widerrufsrechts mit Vertragserfuellung); Zeitpunkt wird
beim Submit als withdrawal_waiver_consented_at an der PM protokolliert.
Index-Schnell-Submit (wire:confirm) durch das gemeinsame Modal ersetzt -
der Pfad umging bisher alle rechtlichen Bestaetigungen.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-07-03 11:41:31 +00:00
parent 52bc534e7d
commit 20d53988bd
6 changed files with 117 additions and 9 deletions

View file

@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
/**
* Erlöschensklausel im Publikationsflow (Rechtstexte-Architektur E2):
* Beim Einreichen bestätigt der Kunde per Checkbox, dass er die sofortige
* Ausführung verlangt und sein Widerrufsrecht mit vollständiger
* Vertragserfüllung erlischt (§ 356 Abs. 4/5 BGB). Der Zeitpunkt der
* Bestätigung wird zur Nachweisbarkeit am Datensatz protokolliert.
*/
return new class extends Migration
{
public function up(): void
{
Schema::table('press_releases', function (Blueprint $table) {
$table->timestamp('withdrawal_waiver_consented_at')->nullable()->after('embargo_at');
});
}
public function down(): void
{
Schema::table('press_releases', function (Blueprint $table) {
$table->dropColumn('withdrawal_waiver_consented_at');
});
}
};