projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some random cleanups
[freeside.git]
/
FS
/
FS
/
UI
/
Web.pm
diff --git
a/FS/FS/UI/Web.pm
b/FS/FS/UI/Web.pm
index
e4a9ac1
..
98d812d
100644
(file)
--- a/
FS/FS/UI/Web.pm
+++ b/
FS/FS/UI/Web.pm
@@
-332,8
+332,8
@@
setting is supplied, the <B>cust-fields</B> configuration value.
=cut
sub cust_fields {
=cut
sub cust_fields {
- my $
svc_x
= shift;
- warn "FS::UI::Web::cust_fields called for $
svc_x
".
+ my $
record
= shift;
+ warn "FS::UI::Web::cust_fields called for $
record
".
"(cust_fields: @cust_fields)"
if $DEBUG > 1;
"(cust_fields: @cust_fields)"
if $DEBUG > 1;
@@
-342,12
+342,12
@@
sub cust_fields {
my $seen_unlinked = 0;
map {
my $seen_unlinked = 0;
map {
- if ( $
svc_x
->custnum ) {
- warn " $
svc_x
-> $_"
+ if ( $
record
->custnum ) {
+ warn " $
record
-> $_"
if $DEBUG > 1;
if $DEBUG > 1;
- $
svc_x
->$_(@_);
+ $
record
->$_(@_);
} else {
} else {
- warn " ($
svc_x
unlinked)"
+ warn " ($
record
unlinked)"
if $DEBUG > 1;
$seen_unlinked++ ? '' : '(unlinked)';
}
if $DEBUG > 1;
$seen_unlinked++ ? '' : '(unlinked)';
}