summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2005-07-14 11:55:01 +0000
committerivan <ivan>2005-07-14 11:55:01 +0000
commitb0c95cb531f14d955b246b94c2bd8548eb8f0241 (patch)
tree174d773d10de39da7d1788d0c142cbbe809ad3e0
parentf80515a9803e46e644a52391db8bdd73b65d5f35 (diff)
oops, fix last minute bug with new configurable customer fields on reports
-rw-r--r--FS/FS/cust_main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index ab2c74a50..5d68dddb1 100644
--- 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