[freeside-commits] freeside/FS/FS Conf.pm, 1.487, 1.488 cust_main.pm, 1.594, 1.595
Ivan,,,
ivan at wavetail.420.am
Wed Nov 16 18:29:02 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv12439/FS/FS
Modified Files:
Conf.pm cust_main.pm
Log Message:
add inter.net numbering, RT#12981
Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.487
retrieving revision 1.488
diff -u -w -d -r1.487 -r1.488
--- Conf.pm 11 Nov 2011 03:13:06 -0000 1.487
+++ Conf.pm 17 Nov 2011 02:29:00 -0000 1.488
@@ -3779,6 +3779,7 @@
'type' => 'select',
'select_hash' => [ '' => 'No',
'1YMMXXXXXXXX' => '1YMMXXXXXXXX',
+ '1001XXXXXXXX' => '1001XXXXXXXX',
],
},
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.594
retrieving revision 1.595
diff -u -w -d -r1.594 -r1.595
--- cust_main.pm 25 Oct 2011 22:35:13 -0000 1.594
+++ cust_main.pm 17 Nov 2011 02:29:00 -0000 1.595
@@ -676,6 +676,15 @@
$counter->unlock;
+ } elsif ( $format eq '1001XXXXXXXX' ) {
+
+ my $counter = new File::CounterFile 'cust_main.agent_custid';
+ $counter->lock;
+
+ $agent_custid = '1001'. $counter->inc;
+
+ $counter->unlock;
+
} else {
die "Unknown cust_main-auto_agent_custid format: $format";
}
More information about the freeside-commits
mailing list