To all,
Is there a way in 3.8.2 to enter and store the data in the "Time"
fields in days? If not, has anyone made their own modifications to do
so? I need this one badly. It’s a major requirement for my users. Thanks
in advance.
Kenn
LBNL
To all,
Is there a way in 3.8.2 to enter and store the data in the "Time"
fields in days? If not, has anyone made their own modifications to do
so? I need this one badly. It’s a major requirement for my users. Thanks
in advance.
Kenn
LBNL
See share/html/Elements/SelectTimeUnits
But I’d just tell them to multiply by 8 business hours per day.
Cambridge Energy Alliance: Save money. Save the planet.
Jerrad,
Thanks. Is this available in 3.6.4?
Kenn
LBNLOn 2/1/2009 1:03 PM, Jerrad Pierce wrote:
See share/html/Elements/SelectTimeUnits
But I’d just tell them to multiply by 8 business hours per day.
Not my code, but in the interest of sharing:
local/html/Elements/SelectTimeUnits
%# END BPS TAGGED BLOCK }}}
% my $selected = ‘minutes’;
% $selected = ‘hours’ if $minutes > 60;
% $selected = ‘days’ if $minutes > 480;
Kristian
Kristian,
Thanks. I'll give it a try.
Kenn
LBNLOn 2/4/2009 2:46 AM, Kristian Davies wrote:
Not my code, but in the interest of sharing:
local/html/Elements/SelectTimeUnits
%# END BPS TAGGED BLOCK }}}
><% loc('Minutes') %> ><% loc('Hours') %> ><% loc('Days') %> <%INIT> $Name .= '-TimeUnits' unless $Name =~ /-TimeUnits$/io; <%ARGS> $Name => '' $minutes => ''
% my $selected = ‘minutes’;
% $selected = ‘hours’ if $minutes > 60;
% $selected = ‘days’ if $minutes > 480;
Kristian