projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
941599b
)
improve spacing around county
author
jeff
<jeff>
Sun, 27 Dec 2009 01:00:48 +0000
(
01:00
+0000)
committer
jeff
<jeff>
Sun, 27 Dec 2009 01:00:48 +0000
(
01:00
+0000)
FS/FS/cust_location.pm
patch
|
blob
|
history
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_location.pm
b/FS/FS/cust_location.pm
index
997532c
..
87c6c3e
100644
(file)
--- a/
FS/FS/cust_location.pm
+++ b/
FS/FS/cust_location.pm
@@
-202,9
+202,9
@@
sub location_label {
foreach (qw ( city county state zip ) ) {
my $method = "$prefix$_";
if ( $self->$method ) {
foreach (qw ( city county state zip ) ) {
my $method = "$prefix$_";
if ( $self->$method ) {
- $line .= '(' if $method eq 'county';
+ $line .= '
(' if $method eq 'county';
$line .= ($notfirst ? ' ' : $separator). &$escape($self->$method);
$line .= ($notfirst ? ' ' : $separator). &$escape($self->$method);
- $line .= ')' if $method eq 'county';
+ $line .= '
)' if $method eq 'county';
$notfirst++;
}
}
$notfirst++;
}
}
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
17dda9c
..
329b461
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-1998,9
+1998,9
@@
sub location_label {
foreach (qw ( city county state zip ) ) {
my $method = "$prefix$_";
if ( $self->$method ) {
foreach (qw ( city county state zip ) ) {
my $method = "$prefix$_";
if ( $self->$method ) {
- $line .= '(' if $method eq 'county';
+ $line .= '
(' if $method eq 'county';
$line .= ($notfirst ? ' ' : $separator). &$escape($self->$method);
$line .= ($notfirst ? ' ' : $separator). &$escape($self->$method);
- $line .= ')' if $method eq 'county';
+ $line .= '
)' if $method eq 'county';
$notfirst++;
}
}
$notfirst++;
}
}