feat: add domain registration form and email notifications
- Create a new Blade view for domain registration (`registrant-tochuc.blade.php`) to capture organization and manager details. - Implement email templates for new domain orders for both admin (`domain-order-new.blade.php`) and customers (`domain-order-received.blade.php`). - Add CSV exports for client and domain data. - Introduce tests for customer mass assignment, password reset, login throttling, and permission gating. - Ensure service renewals use current pricing and validate ownership for virtual machines. - Validate mass assignment behavior in service model.
This commit is contained in:
+25
-1
@@ -20,7 +20,30 @@ class Service extends Model
|
||||
|
||||
protected $table = 'services';
|
||||
|
||||
protected $guarded = [];
|
||||
protected $fillable = [
|
||||
'uuid',
|
||||
'customer_id',
|
||||
'product_id',
|
||||
'type',
|
||||
'order_item_id',
|
||||
'invoice_id',
|
||||
'vm_id',
|
||||
'server_name',
|
||||
'status',
|
||||
'auto_renew',
|
||||
'started_at',
|
||||
'expires_at',
|
||||
'suspended_at',
|
||||
'cancelled_at',
|
||||
'refunded_at',
|
||||
'retry_requested_at',
|
||||
'note',
|
||||
'registrar_reference',
|
||||
'kyc_url',
|
||||
'rejection_reason',
|
||||
'registrant_type',
|
||||
'registrant_info',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'auto_renew' => 'boolean',
|
||||
@@ -30,6 +53,7 @@ class Service extends Model
|
||||
'cancelled_at' => 'datetime',
|
||||
'refunded_at' => 'datetime',
|
||||
'retry_requested_at' => 'datetime',
|
||||
'registrant_info' => 'array',
|
||||
];
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user