projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 78356 - made status bar more responsive on export. Changed svc update to only...
[freeside.git]
/
FS
/
FS
/
svc_circuit.pm
diff --git
a/FS/FS/svc_circuit.pm
b/FS/FS/svc_circuit.pm
index
e90bce5
..
7f2ef80
100644
(file)
--- a/
FS/FS/svc_circuit.pm
+++ b/
FS/FS/svc_circuit.pm
@@
-75,7
+75,7
@@
space or checked for uniqueness.
=item endpoint_mac_addr - the MAC address of the endpoint.
=item endpoint_mac_addr - the MAC address of the endpoint.
-=item internal_circuit_id - internal circuit ID string
defined by the provider
+=item internal_circuit_id - internal circuit ID string
=back
=back
@@
-201,6
+201,7
@@
sub check {
|| $self->ut_textn('vendor_order_status')
|| $self->ut_ipn('endpoint_ip_addr')
|| $self->ut_textn('endpoint_mac_addr')
|| $self->ut_textn('vendor_order_status')
|| $self->ut_ipn('endpoint_ip_addr')
|| $self->ut_textn('endpoint_mac_addr')
+ || $self->ut_textn('internal_circuit_id')
;
# no canonical values yet for vendor_order_status or _type
;
# no canonical values yet for vendor_order_status or _type
@@
-235,6
+236,17
@@
sub search_sql_addl_from {
'LEFT JOIN circuit_type USING ( typenum )';
}
'LEFT JOIN circuit_type USING ( typenum )';
}
+sub _upgrade_data {
+
+ require FS::Misc::FixIPFormat;
+ FS::Misc::FixIPFormat::fix_bad_addresses_in_table(
+ 'svc_circuit', 'svcnum', 'endpoint_ip_addr',
+ );
+
+ '';
+
+}
+
=back
=head1 SEE ALSO
=back
=head1 SEE ALSO
@@
-244,4
+256,3
@@
L<FS::Record>
=cut
1;
=cut
1;
-