Add description fields to Customer and Contact
This commit is contained in:
@@ -22,7 +22,7 @@ class Contact extends Model
|
|||||||
'mobile_phone',
|
'mobile_phone',
|
||||||
'avatar',
|
'avatar',
|
||||||
'online_accounts',
|
'online_accounts',
|
||||||
'notes',
|
'description',
|
||||||
];
|
];
|
||||||
|
|
||||||
public function customer()
|
public function customer()
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ class Customer extends Model
|
|||||||
'billing_address',
|
'billing_address',
|
||||||
'payment_terms_id',
|
'payment_terms_id',
|
||||||
'status',
|
'status',
|
||||||
|
'description',
|
||||||
'logo',
|
'logo',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ public function up()
|
|||||||
$table->json('billing_address')->nullable();
|
$table->json('billing_address')->nullable();
|
||||||
$table->foreignId('payment_terms_id')->constrained()->default(3); // Standard-Zahlungsziel: 14 Tage
|
$table->foreignId('payment_terms_id')->constrained()->default(3); // Standard-Zahlungsziel: 14 Tage
|
||||||
$table->enum('status', ['active', 'inactive', 'prospect'])->default('active');
|
$table->enum('status', ['active', 'inactive', 'prospect'])->default('active');
|
||||||
|
$table->string('description')->default('active');
|
||||||
$table->string('logo')->nullable();
|
$table->string('logo')->nullable();
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user