Hi,
 
I made some modifications in AgentTicketBulk to allow the change of pending times if pending state is possible.
Is ok to post it this way?
 
regards
Christian
 
 
 
diff otrs-2.4.0_beta5/Kernel/Modules/AgentTicketBulk.pm
232c232,244
<                 }
---
>                               }
>                               elsif ($Ticket{StateType} =~ /^pending/i) {
>                                       # get params
>                                       my %GetParam = ();
>                                       foreach (qw( Year Month Day Hour Minute )) {
>                                               $GetParam{$_} = $Self->{ParamObject}->GetParam(Param => $_);
>                                       }
>                                       $Self->{TicketObject}->TicketPendingTimeSet(
>                                               UserID => $Self->{UserID},
>                                               TicketID => $TicketID,
>                                               %GetParam,
>                                       );
>                               }
499a512,520
>       # append pending time if pending is possible
>       if($Param{'NextStatesStrg'} =~ /pending/i) {
>               $Param{DateString} = $Self->{LayoutObject}->BuildDateSelection(
>                       Format => 'DateInputFormatLong',
>                       DiffTime => $Self->{ConfigObject}->Get('Ticket::Frontend::PendingDiffTime') || 0,
>                       %Param,
>               );
>       }
>