projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c5b1b0
)
change otaker fields to 32 chars
author
ivan
<ivan>
Fri, 20 Sep 2002 10:16:28 +0000
(10:16 +0000)
committer
ivan
<ivan>
Fri, 20 Sep 2002 10:16:28 +0000
(10:16 +0000)
FS/FS/UID.pm
patch
|
blob
|
history
README.1.5.0pre1
patch
|
blob
|
history
bin/fs-setup
patch
|
blob
|
history
diff --git
a/FS/FS/UID.pm
b/FS/FS/UID.pm
index
8934d49
..
6962b27
100644
(file)
--- a/
FS/FS/UID.pm
+++ b/
FS/FS/UID.pm
@@
-171,9
+171,7
@@
Returns the current Freeside user.
=cut
sub getotaker {
=cut
sub getotaker {
- #$user;
- #stupid kludge until schema otaker fields are not 8 chars
- substr($user,0,8);
+ $user;
}
=item cgisetotaker
}
=item cgisetotaker
@@
-258,7
+256,7
@@
coderef into the hash %FS::UID::callback :
=head1 VERSION
=head1 VERSION
-$Id: UID.pm,v 1.
19 2002-08-29 06:02:52
ivan Exp $
+$Id: UID.pm,v 1.
20 2002-09-20 10:16:28
ivan Exp $
=head1 BUGS
=head1 BUGS
diff --git
a/README.1.5.0pre1
b/README.1.5.0pre1
index
776899e
..
ab2f3ab
100644
(file)
--- a/
README.1.5.0pre1
+++ b/
README.1.5.0pre1
@@
-2,7
+2,7
@@
preliminary upgrade instructions
schema changes:
*** get svc_broadband changes from pc-intouch
schema changes:
*** get svc_broadband changes from pc-intouch
- *** otaker changes
+ *** otaker changes
s/8/32 all otkaer fields
*** optional: sequence changes
install DBIx::DBSchema 0.21
*** optional: sequence changes
install DBIx::DBSchema 0.21
diff --git
a/bin/fs-setup
b/bin/fs-setup
index
aeaacbc
..
c17c936
100755
(executable)
--- a/
bin/fs-setup
+++ b/
bin/fs-setup
@@
-1,6
+1,6
@@
#!/usr/bin/perl -Tw
#
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.9
8 2002-09-19 13:34:51
ivan Exp $
+# $Id: fs-setup,v 1.9
9 2002-09-20 10:16:28
ivan Exp $
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
#to delay loading dbdef until we're ready
BEGIN { $FS::Record::setup_hack = 1; }
@@
-404,7
+404,7
@@
sub tables_hash_hack {
'custnum', 'int', '', '',
'_date', @date_type,
'amount', @money_type,
'custnum', 'int', '', '',
'_date', @date_type,
'amount', @money_type,
- 'otaker', 'varchar', '',
8
,
+ 'otaker', 'varchar', '',
32
,
'reason', 'text', 'NULL', '',
'closed', 'char', 'NULL', 1,
],
'reason', 'text', 'NULL', '',
'closed', 'char', 'NULL', 1,
],
@@
-466,7
+466,7
@@
sub tables_hash_hack {
'paydate', 'varchar', 'NULL', 10,
'payname', 'varchar', 'NULL', $char_d,
'tax', 'char', 'NULL', 1,
'paydate', 'varchar', 'NULL', 10,
'payname', 'varchar', 'NULL', $char_d,
'tax', 'char', 'NULL', 1,
- 'otaker', 'varchar', '',
8
,
+ 'otaker', 'varchar', '',
32
,
'refnum', 'int', '', '',
'referral_custnum', 'int', 'NULL', '',
'comments', 'text', 'NULL', '',
'refnum', 'int', '', '',
'referral_custnum', 'int', 'NULL', '',
'comments', 'text', 'NULL', '',
@@
-568,7
+568,7
@@
sub tables_hash_hack {
'pkgnum', 'serial', '', '',
'custnum', 'int', '', '',
'pkgpart', 'int', '', '',
'pkgnum', 'serial', '', '',
'custnum', 'int', '', '',
'pkgpart', 'int', '', '',
- 'otaker', 'varchar', '',
8
,
+ 'otaker', 'varchar', '',
32
,
'setup', @date_type,
'bill', @date_type,
'susp', @date_type,
'setup', @date_type,
'bill', @date_type,
'susp', @date_type,
@@
-588,7
+588,7
@@
sub tables_hash_hack {
'custnum', 'int', '', '',
'_date', @date_type,
'refund', @money_type,
'custnum', 'int', '', '',
'_date', @date_type,
'refund', @money_type,
- 'otaker', 'varchar', '',
8
,
+ 'otaker', 'varchar', '',
32
,
'reason', 'varchar', '', $char_d,
'payby', 'char', '', 4, # CARD/BILL/COMP, should be index
# into payment type table.
'reason', 'varchar', '', $char_d,
'payby', 'char', '', 4, # CARD/BILL/COMP, should be index
# into payment type table.