what i am trying to accomplish is this:
if certain dynamic field value is selected and article number is max(article number)
printticket in pdf without last article
Basically: if a dynamic field value is selected, dont print last article of a ticket.
My problem is that i am not that good with perl (developing in Python), so i am stuck at the /Kernel/Modules/AgentTicketPrint.pm part. I think this is correct place for me to accomplish this, i managed to not print certain article number with this code (second line):
Code: Select all
for my $ArticleTmp ( @{ $Param{ArticleData} } ) {
next if($ArticleCounter == 2);
if ( $ArticleCounter == 1) {
$Self->{PDFObject}->PositionSet(
Dynamic field value part, i haven't even touched.
Has anyone done anything similar to this, and has a correct path for me to proceed?