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,
> );
> }
>
---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/