Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Include a feature i...
 
Notifications
Clear all

Include a feature in the file imputationLine.php

5 Posts
2 Users
0 Reactions
3,685 Views
(@djackjack)
Posts: 49
Active Member
Topic starter
 
[#1193]

ImputationLine the file, in the drawLine function, for each row of the table containing the getLine function, there is a check and closedwbs wbsSortable of the current line. if two values ​​are different you hide the line, I will wish to understand why this administration and how it works.


 
Posted : 04 Jun 2013 14H02
babynus
(@babynus)
Posts: 14954
Main Contributor Admin
 

wbsSortable is just a way to write WBS so that it can be sorted, to insure for instance that 1.10 comes after 1.9.
So lines are sorted on wbsSortable value, to hve them in correct structure order.
Then closedwbs means that the current wbs lebel is closed.
The part of code your dealing with insures that when a level is "closed", all sublines are hidden. This is to be applied until wbs level is out of "closed" wbs.


 
Posted : 04 Jun 2013 15H41
(@djackjack)
Posts: 49
Active Member
Topic starter
 

Because I have projects I projects that have disappeared and when I removed the condition with the display: none, projects gone back.

I think the problem is either the condition or how to compare variables are processed.

Do you have any idea?


 
Posted : 04 Jun 2013 18H25
(@djackjack)
Posts: 49
Active Member
Topic starter
 

I continued my research on this problem and I think I have resolved.(Also in the imputationLine.php file in the drawLine function)

In my case, the user has rights on projects at different levels (eg Project A: wbsSortable = 002.004 and Project B: wbsSortable = 003.004.006)

When treatment begins, the project A and project follow through in the condition in attachment 1, all is well.
But arrived at the condition of project B attachment No. 1 does not work because I think the condition is incomplete.

This is why I allowed myself to change this condition by the condition in the attachment # 2

What do you think is correct? Is she a bad influence on another party? (I think not, but I ask because I do not quite mastered all of your code.)


 
Posted : 05 Jun 2013 13H26
babynus
(@babynus)
Posts: 14954
Main Contributor Admin
 

Your adaptation seem correct.
I'll test it, and possibly include it in next version.


 
Posted : 09 Jun 2013 18H33
Share:

Scroll to Top