projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f80515a
)
oops, fix last minute bug with new configurable customer fields on reports
author
ivan
<ivan>
Thu, 14 Jul 2005 11:55:01 +0000
(11:55 +0000)
committer
ivan
<ivan>
Thu, 14 Jul 2005 11:55:01 +0000
(11:55 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
ab2c74a
..
5d68ddd
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-3160,7
+3160,7
@@
Returns a name string for this customer, either "Company (Last, First)" or
sub name {
my $self = shift;
- my $name = $self->
bill_
contact;
+ my $name = $self->contact;
$name = $self->company. " ($name)" if $self->company;
$name;
}
@@
-3204,7
+3204,7
@@
sub ship_contact {
my $self = shift;
$self->get('ship_last')
? $self->get('ship_last'). ', '. $self->ship_first
- : $self->
bill_
contact;
+ : $self->contact;
}
=item status