svc_acct-notes displays static HTML on account view (closes: Bug#465)
authorivan <ivan>
Tue, 8 Oct 2002 08:33:27 +0000 (08:33 +0000)
committerivan <ivan>
Tue, 8 Oct 2002 08:33:27 +0000 (08:33 +0000)
FS/FS/Conf.pm
httemplate/view/svc_acct.cgi

index 1c4ad04..3fdaf21 100644 (file)
@@ -960,6 +960,12 @@ httemplate/docs/config.html
     'select_enum' => [ '', 'CARD', 'BILL', 'COMP', 'HIDE' ],
   },
 
+  {
+    'key'         => 'svc_acct-notes',
+    'section'     => 'UI',
+    'description' => 'Extra HTML to be displayed on the Account View screen.',
+    'type'        => 'textarea',
+  },
 
 );
 
index df55e85..f222842 100755 (executable)
@@ -144,8 +144,8 @@ if ($svc_acct->slipip) {
 print '<TR><TD ALIGN="right">RADIUS groups</TD><TD BGCOLOR="#ffffff">'.
       join('<BR>', $svc_acct->radius_groups). '</TD></TR>';
 
-print "</TABLE></TD></TR></TABLE>".
-      '<BR>'. joblisting({'svcnum'=>$svcnum}, 1).
-      "</BODY></HTML>";
+print '</TABLE></TD></TR></TABLE><BR><BR>'.
+      join("\n", $conf->config('svc_acct-notes') ).
+      '<BR><BR>'. joblisting({'svcnum'=>$svcnum}, 1). '</BODY></HTML>';
 
 %>