X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/fac8417d136f89b1ce0fed8c2ef35ee089228ac7..7317b8d9828cad7fd033d73589d7e9665fb397c7:/SL/DB/Project.pm diff --git a/SL/DB/Project.pm b/SL/DB/Project.pm index aa97f764e..40d1a844b 100644 --- a/SL/DB/Project.pm +++ b/SL/DB/Project.pm @@ -60,7 +60,7 @@ sub full_description { } elsif ($params{style} =~ m/description/) { $description = $self->description; - } elsif ($params{style} =~ m/full/) { + } elsif (($params{style} =~ m/full/) && $self->customer) { $description = $self->projectnumber; if ($self->description && do { my $desc = quotemeta $self->description; $self->projectnumber !~ m/$desc/ }) { $description .= ' ' . $self->description; @@ -143,6 +143,9 @@ description in parenthesis (e.g. "Evil Corp (12345 World domination)"). If the project's description is already part of the project's number then it will not be appended. +If this project isn't linked to a customer then the style C is +used instead. + =back =back