View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error in Imputation Line - ProjeQtOr
 
 

Error in Imputation Line

More
25 Jan 2017 12:49 #1 by antonio.grr
Hi.
Sending Real Work Imputation to pdf I got an error in tag sequence.
I tried to fix editing ImputationLine model
from (lines 523:533)
if (!$print) {
echo '<input type="hidden" id="resourceCapacity" value="' . $capacity . '" />';
}

echo '<script type="dojo/connect" event="resize" args="evt">
var valueHeight=parseInt(dojo.byId(\'topRegionImputation\').offsetHeight)-5;
dojo.byId(\'imputationComment\').style.height=valueHeight+\'px\';
dojo.byId(\'imputationComment\').style.maxHeight=valueHeight+\'px\';
dojo.byId(\'imputationComment\').style.minHeight=valueHeight+\'px\';
</script>';
echo '</div>';

to
if (!$print) {
echo '<input type="hidden" id="resourceCapacity" value="' . $capacity . '" />';

echo '<script type="dojo/connect" event="resize" args="evt">
var valueHeight=parseInt(dojo.byId(\'topRegionImputation\').offsetHeight)-5;
dojo.byId(\'imputationComment\').style.height=valueHeight+\'px\';
dojo.byId(\'imputationComment\').style.maxHeight=valueHeight+\'px\';
dojo.byId(\'imputationComment\').style.minHeight=valueHeight+\'px\';
</script>';
echo '</div>';
}
.from (line 1051)
$classTotalWork . ' imputation" value="' . $totalWork . '"</div></span></TD>';
.
to
$classTotalWork . ' imputation" value="' . $totalWork . '"></div></span></TD>';
from (lines 1055:1058)
if (!$print) {
echo '</div>';
echo '</div>';
}

to
echo '</div>';
if (!$print) {
echo '</div>';
}

Now the problem is that path customIcons/grey/iconProject.png is not resolved from html2pdf.class.php, tcpdf.php, tcpdf_images.php ... .
I fixed this using the full path, but this cannot be the right solution.

Please Log in or Create an account to join the conversation.

More
25 Jan 2017 22:36 #2 by babynus
Replied by babynus on topic Error in Imputation Line
Thanks for the fix.
Will be included in next version.

Icon reference issue is fixed on V6.1.0, coming soon.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.