X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fcgp_rule.html;h=8ea7571d09bf1e0f5dd5a1439b8a1e94b8bea3d4;hb=35ac5f08fc816cd7d79dc9a861652537061aed03;hp=8a427b828a3c140511be9ec85e4da2dd53e30749;hpb=31a9c95e5b7125ef666248699fff31f1f8211364;p=freeside.git
diff --git a/httemplate/browse/cgp_rule.html b/httemplate/browse/cgp_rule.html
index 8a427b828..8ea7571d0 100644
--- a/httemplate/browse/cgp_rule.html
+++ b/httemplate/browse/cgp_rule.html
@@ -44,11 +44,12 @@ my $html_init =
if ( $part_svc->svcdb eq 'svc_domain' ) {
- #areyousure for adding these?
+ #XXX add areyousure javscript confirmation for adding these
foreach my $line ( FS::Conf->new->config('cgp_rule-domain_templates') ) {
$line =~ /^\s*(\d+)\s+(.+)\s*$/ or next;
my($t_svcnum, $t_name) = ( $1, $2 );
+ next if $t_svcnum == $svcnum;
$html_init .=
qq!!
."Add $t_name rule
";