From: ivan Date: Thu, 14 Jul 2005 11:55:01 +0000 (+0000) Subject: oops, fix last minute bug with new configurable customer fields on reports X-Git-Tag: BEFORE_FINAL_MASONIZE~433 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=b0c95cb531f14d955b246b94c2bd8548eb8f0241;hp=f80515a9803e46e644a52391db8bdd73b65d5f35 oops, fix last minute bug with new configurable customer fields on reports --- 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