big change Inhaltstabelle und PDF

This commit is contained in:
salam committed 2025-11-03 18:14:46 +01:00
1 parent 2f6ae7e4a1
commit d5d1f743bb
58 files changed
+1244 -922

No files matched your search

@@ -1,34 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('plans', function (Blueprint $table) {
$table->id();
$table->string('icon')->nullable();
$table->string('name')->nullable();
$table->string('payment')->nullable();
$table->string('description')->nullable();
$table->integer('preis')->default(0);
$table->integer('limit_user')->default(1);
$table->integer('limit_gutachter')->default(1);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('plans');
}
};
@@ -14,8 +14,8 @@ return new class extends Migration
Schema::create('textblocks', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('beschreibung')->nullable();
$table->text('textblock');
$table->text('textblock')->nullable();
$table->text('textblock2')->nullable();
$table->timestamps();
});
}
@@ -19,7 +19,7 @@ return new class extends Migration
$table->string('name2')->nullable();
$table->string('part')->nullable();
$table->boolean('ueberschrift_anzeigen')->default(0)->nullable();
$table->integer('tabellen_id')->default(0)->nullable();
$table->integer('inhaltselement_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable();
$table->integer('seite')->default(0);
$table->integer('neue_seite')->default(0);
@@ -19,7 +19,7 @@ return new class extends Migration
$table->string('top_nummer')->nullable();
$table->string('type')->nullable();
$table->string('geschoss')->nullable();
$table->integer('nutzwert')->default(0)->nullable();
$table->decimal('nutzwert', 5, 2)->default(0)->nullable();
// 10 Zusatzfelder
$table->decimal('a', 5, 2)->default(0);
$table->decimal('b', 5, 2)->default(0);
@@ -20,14 +20,16 @@ return new class extends Migration
$table->string('name2')->nullable();
$table->string('part')->nullable();
$table->boolean('ueberschrift_anzeigen')->default(0)->nullable();
$table->integer('tabellen_id')->default(0)->nullable();
$table->integer('inhaltselement_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable();
$table->integer('konto_textblock_id')->default(0)->nullable();
$table->integer('seite')->default(0);
$table->integer('neue_seite')->default(0);
$table->integer('seitenzahl_anzeige')->default(0);
$table->boolean('no_edit')->default(0)->nullable();
$table->string('textblock_name')->nullable();
$table->text('textblock')->nullable();
$table->text('textblock2')->nullable();
$table->timestamps();
});
}
@@ -11,7 +11,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('tabellens', function (Blueprint $table) {
Schema::create('inhaltselements', function (Blueprint $table) {
$table->id();
$table->text('name')->nullable();
$table->timestamps();
@@ -23,6 +23,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('tabellens');
Schema::dropIfExists('inhaltselements');
}
};