PendingFix 1.0.0 released

OTRS newbie
Posts: 74
Joined: 17 May 2013, 09:30
OTRS Version?: 6.0.30
Real Name: Stein Erik Berget

PendingFix 1.0.0 released

Post by seberget2 »

I just released the first version of a new module. I had an itch, and this is the remedy:
This module fixes the pending time if the ticket is answered on a non working day, or the pending date itself is placed on an non working day. If the new calculated Pending date is outside the lifetime of the session, this functionality is bypassed, as it is assumed that the pending date have been changed on purpose. Basically it will only take effect if the automatic pending date comes on a non working day/hour.

It calculates the difference in days, and working hours. And uses the 'DestinationTime' method from the 'Kernel::System::Ticket' module to place it on a correct day. It uses 'Monday' as the day to calculate the working hours, from the tickets queue calendar.
This module follows the principles I've made for myself when developing for OTRS, use the published extension points. This could probably be done simpler if I modified the modules displaying the pending time selectors.

Hope you like it, and let me know if there is anything you would like me to change or add.

The module can be found at
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D