From: ivan Date: Tue, 8 Oct 2002 08:33:25 +0000 (+0000) Subject: svc_acct-notes displays static HTML on account view (closes: Bug#465) X-Git-Tag: freeside_1_4_1beta4~16 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=419a97b632ab956ca10ea46eee69d3e35581c149;p=freeside.git svc_acct-notes displays static HTML on account view (closes: Bug#465) --- diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 37d66200e..c0860404f 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -974,6 +974,13 @@ 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', + }, + ); 1; diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 19953bafd..ecea97426 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -149,8 +149,8 @@ if ($svc_acct->slipip) { print 'RADIUS groups'. join('
', $svc_acct->radius_groups). ''; -print "". - '
'. joblisting({'svcnum'=>$svcnum}, 1). - ""; +print '

'. + join("\n", $conf->config('svc_acct-notes') ). + '

'. joblisting({'svcnum'=>$svcnum}, 1). ''; %>