Add description fields to Customer and Contact

This commit is contained in:
2025-11-28 09:18:39 +01:00
parent d2cbbb7b37
commit 42af1586cc
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class Contact extends Model
'mobile_phone',
'avatar',
'online_accounts',
'notes',
'description',
];
public function customer()
+1
View File
@@ -27,6 +27,7 @@ class Customer extends Model
'billing_address',
'payment_terms_id',
'status',
'description',
'logo',
];
@@ -22,6 +22,7 @@ public function up()
$table->json('billing_address')->nullable();
$table->foreignId('payment_terms_id')->constrained()->default(3); // Standard-Zahlungsziel: 14 Tage
$table->enum('status', ['active', 'inactive', 'prospect'])->default('active');
$table->string('description')->default('active');
$table->string('logo')->nullable();
$table->timestamps();
});