projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add billco-account_num option, RT#22934
[freeside.git]
/
FS
/
FS
/
svc_dsl.pm
diff --git
a/FS/FS/svc_dsl.pm
b/FS/FS/svc_dsl.pm
index
b02e74f
..
8c47f88
100644
(file)
--- a/
FS/FS/svc_dsl.pm
+++ b/
FS/FS/svc_dsl.pm
@@
-137,6
+137,7
@@
sub table_info {
'sorts' => [ 'phonenum' ],
'display_weight' => 55,
'cancel_weight' => 75,
'sorts' => [ 'phonenum' ],
'display_weight' => 55,
'cancel_weight' => 75,
+ 'ip_field' => 'staticips',
'fields' => {
'pushed' => { label => 'Pushed',
type => 'disabled' },
'fields' => {
'pushed' => { label => 'Pushed',
type => 'disabled' },
@@
-279,6
+280,15
@@
sub check {
$self->SUPER::check;
}
$self->SUPER::check;
}
+=item gateway_access_or_phonenum
+
+=cut
+
+sub gateway_access_or_phonenum {
+ my $self = shift;
+ $self->gateway_access_number || $self->phonenum;
+}
+
=item dsl_device
Returns the MAC addresses associated with this DSL service, as FS::dsl_device
=item dsl_device
Returns the MAC addresses associated with this DSL service, as FS::dsl_device