Das persönliche Profil (https://zivgitlab.uni-muenster.de/USERID) wurde für alle Nutzer administrativ auf "privat" gesetzt. Wenn sie möchten, dass dieses wieder für alle internen Nutzer sichtbar wird, deaktivieren sie bitte das "private profile" unter den persönlichen Einstellungen (https://zivgitlab.uni-muenster.de/-/profile).

Commit 506c9a88 authored by mtimm_01's avatar mtimm_01

Add file extension; Correct changelogs in the package now.

parent a48195c8
......@@ -147,7 +147,7 @@ sub CreatePDF {
# create first pdf page
FooterRight => $Page{PageText} .' '. $Page{PageCount},
FooterRight => sprintf('%s %s (%s)', $Page{PageText}, $Page{PageCount}, $Ticket{TicketID})
......@@ -251,8 +251,13 @@ sub Run {
$Self->Print(sprintf("<red>%s: %s</red>\n", 'Could not find queue', $QueueName));
return $Self->ExitCodeError();
my @TicketList = $Self->GetTicketList( QueueID => $QueueID );
if (substr(uc($Filename), -4) ne '.PDF') {
# The filename does not end with the pdf file extension. It will be appended here.
$Filename .= '.pdf';
my @TicketList = $Self->GetTicketList( QueueID => $QueueID );
$Self->Print(sprintf("<yellow>%s: \"%s\" #%d [%d tickets]</yellow>\n", 'Exporting all tickets of the queue', $QueueName, $QueueID, scalar(@TicketList)));
my $PDFString;
# ExportTicketToPDF - A Plugin for OTRS
# ExportTicketsToPDF - A Plugin for OTRS
## What this plugin does
<?xml version="1.0" encoding="utf-8" ?>
<otrs_package version="1.0">
<Vendor>Westfälische Wilhelms-Universität Münster</Vendor>
<License>GNU General Public License, version 3</License>
<ChangeLog Version="0.9.0" Date="2016-07-25 17:37:00">Multiple ticket export using the backend implemented.</ChangeLog>
<ChangeLog Version="1.0.0" Date="2016-07-26 16:45:00">Append file extension if not done by the user and print the ticket ids to the pdf document.</ChangeLog>
<ChangeLog Version="0.9.3" Date="2016-07-26 15:25:00">Renamed the plugin from "MultipleTicketExport" to "ExportTicketsToPDF".</ChangeLog>
<ChangeLog Version="0.9.0" Date="2016-07-25 17:37:00">First version of the ExportTicketToPDF plugin which allows to export all tickets of a queue into a pdf file.</ChangeLog>
<Description lang="en">This plugin realizes a multiple export of tickets in a queue.</Description>
<Description lang="de">Dieses Plugin realisiert den mehrfachen Export von Tickets einer Queue.</Description>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment