Does anyone know how to fill the time_unit text entry field
with a default value? I'll be setting the field to be mandatory soon and
it would be a real pain in the neck if you had to click in the field every time
(even if closing a ticket just after you replied or the
like).
I'd just like it to default to zero and the agent can
change it if it's a billable action (closing a ticket in and of itself doesn't
really take up enough time to count as a billable item)
Any help would be great! Thanks! Love
OTRS!
- Pete
McDonnell
From: Pete McDonnell
Sent: Friday, February 04, 2005 10:53 AM
To: User questions and discussions about OTRS.
Subject: RE: [otrs] Time AccountingIs anyone using time accounting in the real world? Someone must... Are you using minutes or hours as the time unit?Any reports or queries that anyone can share for reporting using this data?- Pete McDonnellManager, Technical ServicesHip Interactive
From: Pete McDonnell
Sent: Thursday, February 03, 2005 10:51 AM
To: User questions and discussions about OTRS.
Subject: RE: [otrs] Time AccountingCorrection, both systems are not displaying the same behaviour. No fraction of a whole time unit is being stored. The decimal places are just zeroes.- Pete McDonnellManager, Technical ServicesHip Interactive
From: Pete McDonnell
Sent: Thursday, February 03, 2005 10:44 AM
To: User questions and discussions about OTRS.
Subject: RE: [otrs] Time AccountingSo I changed the time_accounting.time_unit field to decimal(4,2) and added the following to Kernel/Config.pm:$Self->{FrontendNeedAccountedTime} = 1;
$Self->{TimeUnits} = ' (hours)';The time is only getting recorded as an integer still though. IE if I enter 0.25 for the time unit field on a reply 0.00 gets stored in the DB. If I enter 1.25 1.00 gets stored in the DB.What else do I need to change? On my live 1.3.1 I only changed the time_accounting.time_unit field to decimal(4,2) and it stores the time properly. I did not modify the Config.pm with the above two lines on the production server.- Pete McDonnellManager, Technical ServicesHip Interactive
From: Pete McDonnell
Sent: Tuesday, February 01, 2005 4:13 PM
To: User questions and discussions about OTRS.
Subject: [otrs] Time AccountingI dug up the following from an old 2003 post on this list. Just wondering if it'll still work the same on version 1.3.1 and newer versions? Still haven't upgraded the production server to 1.3.2.__SNIP__You can set a config option to force time accounting
("$Self->{FrontendNeedAccountedTime} = 1;") and a option to defined the time
format name (" $Self->{TimeUnits} = ' (work units)';") -=> e. g.
"$Self->{TimeUnits} = ' (hours)';".__SNIP__- Pete McDonnell
Manager, Technical Services
Hip Interactive
Phone: (519) 272-0234 x228
"What the large print giveth, the small print taketh away.” - Anonymous
_______________________________________________ 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 Support oder Consulting f�r Ihr OTRS System? => http://www.otrs.de/
