Re: New web site & MrProject 0.6

Richard Hult <[email protected]>
Newsgroups gmane.comp.gnome.apps.mr-project.user
Message-ID <1029752792.20072.13.camel@sliff>
sön 2002-08-18 klockan 19.24 skrev Alvaro:
>
> I have looked at it. The problem is that the cost is calculated as:
> 
> total_cost += (mrp_task_get_duration (task)/3600) * cost;
> 
> The "cost" for a resource is ok, but the duration for a 1 day task is
> 32400, I don't know why.

Duration is calendar duration, including weekends etc... I just checked
in a fix that uses work instead (not completely right, it should use
duration excluding nonworking time, but for now it's working).

/Richard

-- 
Richard Hult                    [email protected]
CodeFactory AB                  http://www.codefactory.se/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.