From b0c95cb531f14d955b246b94c2bd8548eb8f0241 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 14 Jul 2005 11:55:01 +0000 Subject: [PATCH] oops, fix last minute bug with new configurable customer fields on reports --- FS/FS/cust_main.pm | 4 ++-- 1 file 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 -- 2.11.0