update email template
This commit is contained in:
@@ -289,7 +289,7 @@ class CustomerController extends Controller
|
||||
$customer = $this->resolveCustomer($uuid);
|
||||
|
||||
$domains = DnsDomain::query()
|
||||
->with('server:id,name,ip_address')
|
||||
->with(['server:id,name,ip_address', 'registrar:id,name,short_name,website'])
|
||||
->withCount(['ns', 'record'])
|
||||
->whereHas('customer', fn($q) => $q->where('customers.id', $customer->id))
|
||||
->orderByDesc('id')
|
||||
@@ -306,6 +306,12 @@ class CustomerController extends Controller
|
||||
'name' => $d->server->name,
|
||||
'ip_address' => $d->server->ip_address,
|
||||
] : null,
|
||||
'registrar' => $d->registrar ? [
|
||||
'id' => $d->registrar->id,
|
||||
'name' => $d->registrar->name,
|
||||
'short_name' => $d->registrar->short_name,
|
||||
'website' => $d->registrar->website,
|
||||
] : null,
|
||||
'created_at' => $d->created_at,
|
||||
'updated_at' => $d->updated_at,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user