Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timetracker empty #115

Closed
PowerChaos opened this issue Sep 21, 2016 · 2 comments
Closed

timetracker empty #115

PowerChaos opened this issue Sep 21, 2016 · 2 comments
Assignees
Labels

Comments

@PowerChaos
Copy link

PowerChaos commented Sep 21, 2016

hi,
when the timetracker is empty then it gives a white page
as soon i add a new input from homepage the timetracker works

i also added following code in managetimetracker.php , but it shoulnd cause that problem (anyway code is for reference )

/*Custom Edit*/
if (!empty($cleanGet["start"]) and !empty($cleanGet["end"])) {
$track = $tracker->getProjectTrack($id, $cleanGet["usr"], $cleanGet["task"], $cleanGet["start"], $cleanGet["end"], false);
} else {
    $track = $tracker->getProjectTrack($id, $cleanGet["usr"], $cleanGet["task"], 0, 0, false);
}

$totaltime = $tracker->getTotalTrackTime($track);
$totaltime = str_replace(".", ",", $totaltime);
/* Custom Edit*/ 

can you check this please
bug exist in commit cba9668

also mirror bug is the progress bar on project page still does not update
manageproject.php?action=showproject&id=1
says 17% but shows empty bar (on project overvieuw it shows a red bar filled for 17% )

Greets From PowerChaos

@PowerChaos
Copy link
Author

PowerChaos commented Sep 21, 2016

fixed progress bar problem
template/standaard/project.tpl
line 57 - 62
change
<div class="status"> {$done}% <div class="statusbar"> <div class="complete" id="completed" style="width:0%;"></div> </div>
to
<div class="status"> {$done}% <div class="statusbar"> <div class="complete" id="completed" style="width:{$done}%;"></div> </div>

@philippK-de
Copy link
Owner

filtering of the timetracker report should be fixed in
0eb2914
and
1879863
fbcc7a9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants