From: Christopher Burger Date: Tue, 17 Jul 2018 01:57:52 +0000 (-0400) Subject: Merge branch 'FREESIDE_4_BRANCH' of ssh://git.freeside.biz/home/git/freeside into... X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=e6e941b0f73452f6207bb74bdda244630cda9e1e;hp=98d491d009d8bc9000d6272aedaa0c315d0d9ffc;p=freeside.git Merge branch 'FREESIDE_4_BRANCH' of ssh://git.freeside.biz/home/git/freeside into FREESIDE_4_BRANCH --- diff --git a/FS/FS/svc_IP_Mixin.pm b/FS/FS/svc_IP_Mixin.pm index 8b2b5f17e..4b402fa8d 100644 --- a/FS/FS/svc_IP_Mixin.pm +++ b/FS/FS/svc_IP_Mixin.pm @@ -80,7 +80,7 @@ sub svc_ip_check { my $error = $self->ip_check; return $error if $error; if ( my $router = $self->router ) { - if ( grep { $_->routernum eq $router->routernum } $self->allowed_routers ) { + if ( grep { $_->routernum == $router->routernum } $self->allowed_routers ) { return ''; } else { return 'Router '.$router->routername.' not available for this service'; diff --git a/FS/FS/svc_broadband.pm b/FS/FS/svc_broadband.pm index 96028df9c..b2fc27260 100755 --- a/FS/FS/svc_broadband.pm +++ b/FS/FS/svc_broadband.pm @@ -110,12 +110,12 @@ sub table_info { 'speed_down' => 'Download speed (Kbps)', 'speed_up' => 'Upload speed (Kbps)', 'ip_addr' => 'IP address', - 'blocknum' => - { 'label' => 'Address block', - 'type' => 'select', - 'select_table' => 'addr_block', - 'select_key' => 'blocknum', - 'select_label' => 'cidr', + 'blocknum' => { + 'label' => 'Address block', + 'type' => 'select', + 'select_table' => 'addr_block', + 'select_key' => 'blocknum', + 'select_label' => 'cidr', 'disable_inventory' => 1, }, 'plan_id' => 'Service Plan Id', diff --git a/rt/lib/RT/Record.pm b/rt/lib/RT/Record.pm index 1818c2d48..8f1b5be5e 100755 --- a/rt/lib/RT/Record.pm +++ b/rt/lib/RT/Record.pm @@ -1282,6 +1282,11 @@ sub Customers { $self->{'Customers'} = $self->MemberOf->Clone; + $self->{'Customers'}->Limit( FIELD => 'Base', + OPERATOR => 'STARTSWITH', + VALUE => 'fsck.com-rt://%/ticket/', + ); + for my $fstable (qw(cust_main cust_svc)) { $self->{'Customers'}->Limit(