X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_acct.cgi;h=be58e4e1d2194fc543b0bff1f361a40af1e9c7c3;hp=14d2745a2f7b06e706ca86c985843bba4d0cf87c;hb=918bbc9ce36a3dc5943f521e26751ea94a5a5539;hpb=c69dd0d922bba433b16e3408f71f1cac0e16a069 diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 14d2745a2..be58e4e1d 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -108,6 +108,48 @@ if ( $part_svc->part_export('sqlradius') #print qq!
Send account information!; +%> + +<% + my @part_svc = (); + if ( $pkgnum ) { + @part_svc = grep { $_->svcdb eq 'svc_acct' + && $_->svcpart != $part_svc->svcpart } + $cust_pkg->available_part_svc; + } else { + @part_svc = qsearch('part_svc', { + svcdb => 'svc_acct', + disabled => '', + svcpart => { op=>'!=', value=>$part_svc->svcpart }, + } ); + } + if ( @part_svc ) { +%> + +
+ + + + +
+<% } %> + +<% + print qq!Edit this information
!. &ntable("#cccccc"). ''. &ntable("#cccccc",2). "Service number".