update email template

This commit is contained in:
baodev0
2026-09-09 16:56:22 +07:00
parent d3d9f76ba0
commit 2365ef72e9
210 changed files with 6335 additions and 4688 deletions
@@ -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,
]);