[otrs-cvs] otrs/Kernel/Modules CustomerTicketPrint.pm,1.5,1.6
cvs-log at otrs.org
cvs-log at otrs.org
Tue Apr 3 18:43:07 GMT 2007
Comments:
Update of /home/cvs/otrs/Kernel/Modules
In directory lancelot:/tmp/cvs-serv11704/Kernel/Modules
Modified Files:
CustomerTicketPrint.pm
Log Message:
Not shown customer company in pdf output.
Author: martin
Index: CustomerTicketPrint.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Modules/CustomerTicketPrint.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CustomerTicketPrint.pm 30 Jan 2007 19:57:20 -0000 1.5
--- CustomerTicketPrint.pm 3 Apr 2007 18:43:02 -0000 1.6
***************
*** 684,687 ****
--- 684,694 ----
my $Row = 0;
my $Map = $CustomerData{Config}{Map};
+ # check if customer company support is enabled
+ if ($CustomerData{Config}->{CustomerCompanySupport}) {
+ my $Map2 = $CustomerData{CompanyConfig}->{Map};
+ if ($Map2) {
+ push (@{$Map}, @{$Map2});
+ }
+ }
foreach my $Field (@{$Map}) {
if (${$Field}[3] && $CustomerData{${$Field}[0]}) {
***************
*** 936,940 ****
# html quoting
$Article{Body} = $Self->{LayoutObject}->Ascii2Html(
! NewLine => $Self->{ConfigObject}->Get('DefaultViewNewLine') || 85,
Text => $Article{Body},
VMax => $Self->{ConfigObject}->Get('DefaultViewLines') || 5000,
--- 943,947 ----
# html quoting
$Article{Body} = $Self->{LayoutObject}->Ascii2Html(
! NewLine => $Self->{ConfigObject}->Get('DefaultViewNewLine'),
Text => $Article{Body},
VMax => $Self->{ConfigObject}->Get('DefaultViewLines') || 5000,
More information about the cvs-log
mailing list