Menu

#26 Used Time not showing against action on Task Details Page

v_1.2.x
open
None
5
2005-02-20
2004-04-28
No

When viewing the task details screen, each action
should show the used time but is not being displayed.

The Rounded summary time is correct, but the summary
cost is also not being calculated and simply shows zero.

The customer costs however, are displayed correctly.

Discussion

  • Steve Tetley

    Steve Tetley - 2004-04-28
    • milestone: --> v_1.2.x
     
  • Nobody/Anonymous

    Logged In: NO

    I have been playing with it a bit and found that it gets
    occassionally showed. But the Cost calculations and total
    calculations are weird. I have a snapshot of it. I will try to
    attach it. (tku@progress.com)

     
  • Robby Russell

    Robby Russell - 2004-07-12

    Logged In: YES
    user_id=254709

    Thanks, I am seeing the same thing now. DId you upgrade to
    the version from a previous version? That is what I did,
    just wondering if it's realated to upgrading.

     
  • Robby Russell

    Robby Russell - 2004-07-12

    Logged In: YES
    user_id=254709

    I just looked through this. It's kind of confusing, but i
    figured it out. If I have a date range, it still shows all
    projects/tasks...but only shows me used time for things that
    fall into that range.

    I think that I would rather it not show me all tasks
    historically unless I click something to do that. The way I
    use it is monthly and I don't need the extra confusion of
    tasks from the past when I just want the bottom line. Thoughts?

     
  • Chris Wade

    Chris Wade - 2005-02-20

    Logged In: YES
    user_id=845727

    The problem is just that it's trying to show the time for
    each job on the details screen as though it were a private
    task. On line 342 of the file taskdetails.php, I changed
    getSummary(true) to getSummary() and it works fine.

     
  • Robby Russell

    Robby Russell - 2005-02-20

    Logged In: YES
    user_id=254709

    Chris, thanks for tracking this down. Feel free to commit
    this change.

    I take it that false is the default if true is not passed to
    the function? (haven't looked at the code for getSummary() yet)

    I see that this shows up a lot throughout the system though.

     
  • Robby Russell

    Robby Russell - 2005-02-20
    • assigned_to: nobody --> genghishack
     
  • Chris Wade

    Chris Wade - 2005-02-20

    Logged In: YES
    user_id=845727

    Yep, false is the default... it's in inc/jobs.inc.php, and
    basically what it does is determine whether a '=' or a '!='
    is used in the select statement for calculating the time
    summary pertaining to whether it's a public or private job.

     
  • Chris Wade

    Chris Wade - 2005-02-20

    Fixes job summary time and midnight-crossover bugs

     
  • Chris Wade

    Chris Wade - 2005-02-20

    Logged In: YES
    user_id=845727

    All right, I'm still learning how to use sourceforge. for
    the sake of completion, I'll attach the changed file here.
    This also fixes a separate bug, namely, that when editing a
    job to record a stop date and time the original start date
    was being filled in as the stop date, even if the job went
    past midnight and was finished on the next day (for those
    red-eye programmers among us ;). The stop time was and
    still is correct.

     
  • Robby Russell

    Robby Russell - 2005-02-20

    Logged In: YES
    user_id=254709

    Chris,

    were you able to commit this file to CVS?

    I am thinking that we will release a new version today or
    tomorrow with some of the past bugs that were issues and the
    few you are working on. Then we will look at the new list
    you have an what I have and decide what will be added to the
    next release. (release early release often).

     
  • Chris Wade

    Chris Wade - 2005-02-20

    Logged In: YES
    user_id=845727

    Yes, it's in CVS as well.

     
  • Chris Wade

    Chris Wade - 2005-02-21

    Logged In: YES
    user_id=845727

    Yes, it's in CVS as well.

     

Log in to post a comment.

MongoDB Logo MongoDB