X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_domain.cgi;h=28214f04efd530c4bd59c94698982ae5de938253;hp=61194a26dcbe4de953294f5b31e6bf75066a7528;hb=23186f0338ec248d930c85db08cc997bca42525b;hpb=a55f1c9e63b5428c55aa75d55ab4a280889be288
diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi
index 61194a26d..28214f04e 100755
--- a/httemplate/view/svc_domain.cgi
+++ b/httemplate/view/svc_domain.cgi
@@ -35,7 +35,7 @@ print header('Domain View', menubar(
? ( "View this package (#$pkgnum)" => "${p}view/cust_pkg.cgi?$pkgnum",
"View this customer (#$custnum)" => "${p}view/cust_main.cgi?$custnum",
)
- : ( "Cancel this (unaudited) account" =>
+ : ( "Cancel this (unaudited) domain" =>
"${p}misc/cancel-unaudited.cgi?$svcnum" )
),
"Main menu" => $p,
@@ -46,17 +46,36 @@ print header('Domain View', menubar(
qq!
Catch all email (change):!,
$email ? "$email." : "(none)",
qq!
View whois information.!,
- '
', ntable("",2),
+ '
',
+ '',
+ ntable("",2),
' ',
;
-foreach my $domain_record ( qsearch('domain_record', { svcnum => $svcnum } ) ) {
+
+foreach my $domain_record ( $svc_domain->domain_record ) {
print 'Zone Type Data ';
+ ''. $domain_record->reczone. ' '.
''. $domain_record->recaf. ' '. $domain_record->rectype. ' '.
- ''. $domain_record->recdata. '