Add description fields to Customer and Contact
This commit is contained in:
@@ -22,7 +22,7 @@ class Contact extends Model
|
||||
'mobile_phone',
|
||||
'avatar',
|
||||
'online_accounts',
|
||||
'notes',
|
||||
'description',
|
||||
];
|
||||
|
||||
public function customer()
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user