Hi Ton, I've added your patch to http://bugs.otrs.org/show_bug.cgi?id=5406 and assigned it to one of our developers.
Regards, Michiel On Tue, Jan 18, 2011 at 2:44 PM, Ton Kersten <ton.kers...@atcomputing.nl> wrote: > Hello all, > > When I do have a related set of tickets for a customer, that I want to > close with a bulk action I can add 'spent time' to this ticket. > After this I see in the accounting tables that every ticket gets this > time assigned. But this is not what we want. We want to enter the total > time used in the bulk action. > > To get this done I created a tiny patch for the AgentTicketBulk.pm file. > This just checks if this is the first ticket in a bulk action and if so > it is accounted. If not, no accounting record is created. > This behaviour is selectable with a configuration option in the > Config.pm, called 'CountOneTime'. > > I am not a Perl guru, so it could be that this has to be done in a more > intelligent way. But I would like to propose this as a patch to the new > OTRS version. > > Patch is attached. > > Comments are welcome. > > Cheers, > TonK > > -- > AT Computing > Linux/UNIXperts, > opleiders & oplossers Tel +31 24 352 72 82 > Kerkenbos 12-38 Tel cursussecretariaat: +31 24 352 72 72 > 6546 BE Nijmegen Fax +31 24 352 72 92 > Postbus 1428 i...@atcomputing.nl > 6501 BK Nijmegen www.atcomputing.nl > > 'If you think education is expensive, then try ignorance.' > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs