Refactor VM resource specs resolution and enhance order payment success email with addon summary; add UpdateVmConfigJob for CPU/RAM updates
This commit is contained in:
@@ -41,13 +41,14 @@ class OrderPaymentSuccess extends Mailable
|
||||
return new Content(
|
||||
view: 'emails.customer.order-payment-success',
|
||||
with: [
|
||||
'customerName' => $this->data['customer_name'] ?? 'Khách hàng',
|
||||
'orderId' => $this->data['order_id'] ?? 'N/A',
|
||||
'orderNum' => $this->data['order_num'] ?? 'N/A',
|
||||
'amount' => $this->data['amount'] ?? 0,
|
||||
'vmResults' => $this->data['vm_results'] ?? [],
|
||||
'supportEmail' => config('mail.support_email', 'support@example.com'),
|
||||
'supportPhone' => config('mail.support_phone', '1900-xxxx'),
|
||||
'customerName' => $this->data['customer_name'] ?? 'Khách hàng',
|
||||
'orderId' => $this->data['order_id'] ?? 'N/A',
|
||||
'orderNum' => $this->data['order_num'] ?? 'N/A',
|
||||
'amount' => $this->data['amount'] ?? 0,
|
||||
'vmResults' => $this->data['vm_results'] ?? [],
|
||||
'addonsSummary' => $this->data['addons_summary'] ?? [],
|
||||
'supportEmail' => config('mail.support_email', 'support@example.com'),
|
||||
'supportPhone' => config('mail.support_phone', '1900-xxxx'),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user