Edit PDF report

Moderator: crythias

Locked
freeseet
Znuny newbie
Posts: 16
Joined: 14 Nov 2013, 04:53
Znuny Version: 3.3.1

Edit PDF report

Post by freeseet »

Tell me please.
How of PDF reports (Print) to remove the inscription on who and when it printed?
like:
"printed by User user (user@mail.com) 11/13/2013 12:12:38"
OTRS 3.3.1
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Edit PDF report

Post by reneeb »

You have to change code... Kernel/Modules/AgentStats.pm

For OTRS 3.3 it is ll. 2255 to 2260: https://github.com/OTRS/otrs/blob/rel-3 ... s.pm#L2255

Just comment those lines out:

Code: Select all

                $PageParam{HeadlineRight}
                    = $PrintedBy . ' '
                    . $User{UserFirstname} . ' '
                    . $User{UserLastname} . ' ('
                    . $User{UserEmail} . ') '
                    . $Time;
=>

Code: Select all

#                $PageParam{HeadlineRight}
#                    = $PrintedBy . ' '
#                    . $User{UserFirstname} . ' '
#                    . $User{UserLastname} . ' ('
#                    . $User{UserEmail} . ') '
#                    . $Time;
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked