Fix missed part from customer display name change
This commit is contained in:
parent
233d5d3371
commit
6d86389768
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ sub name {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
if ( defined $self->customer_id ) {
|
if ( defined $self->customer_id ) {
|
||||||
return $self->customer->name;
|
return $self->customer->display_name;
|
||||||
} elsif ( defined $self->organisation_id ) {
|
} elsif ( defined $self->organisation_id ) {
|
||||||
return $self->organisation->name;
|
return $self->organisation->name;
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in a new issue