[freeside-commits] freeside/FS/FS Schema.pm, 1.41,
1.42 svc_broadband.pm, 1.9, 1.10
Jeff Finucane,420,,
jeff at wavetail.420.am
Fri Jan 12 15:27:10 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv15676/FS/FS
Modified Files:
Schema.pm svc_broadband.pm
Log Message:
added svc_broadband description which is appended to Site Name in prizm export
Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- Schema.pm 9 Jan 2007 22:57:21 -0000 1.41
+++ Schema.pm 12 Jan 2007 23:27:08 -0000 1.42
@@ -1161,6 +1161,7 @@
'svc_broadband' => {
'columns' => [
'svcnum', 'int', '', '', '', '',
+ 'description', 'varchar', 'NULL', $char_d, '', '',
'blocknum', 'int', '', '', '', '',
'speed_up', 'int', '', '', '', '',
'speed_down', 'int', '', '', '', '',
Index: svc_broadband.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_broadband.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- svc_broadband.pm 29 Dec 2006 08:51:32 -0000 1.9
+++ svc_broadband.pm 12 Jan 2007 23:27:08 -0000 1.10
@@ -93,10 +93,11 @@
'display_weight' => 50,
'cancel_weight' => 70,
'fields' => {
- 'speed_down' => 'Maximum download speed for this service in Kbps. 0 denotes unlimited.',
- 'speed_up' => 'Maximum upload speed for this service in Kbps. 0 denotes unlimited.',
- 'ip_addr' => 'IP address. Leave blank for automatic assignment.',
- 'blocknum' => 'Address block.',
+ 'description' => 'Descriptive label for this particular device.',
+ 'speed_down' => 'Maximum download speed for this service in Kbps. 0 denotes unlimited.',
+ 'speed_up' => 'Maximum upload speed for this service in Kbps. 0 denotes unlimited.',
+ 'ip_addr' => 'IP address. Leave blank for automatic assignment.',
+ 'blocknum' => 'Address block.',
},
};
}
@@ -193,6 +194,7 @@
my $error =
$self->ut_numbern('svcnum')
|| $self->ut_foreign_key('blocknum', 'addr_block', 'blocknum')
+ || $self->ut_textn('description')
|| $self->ut_number('speed_up')
|| $self->ut_number('speed_down')
|| $self->ut_ipn('ip_addr')
More information about the freeside-commits
mailing list