Quantcast
Channel: ProjeQtOr free project management software - ProjeQtOr free project management software - Recent Topics - ProjeQtOr
Viewing all articles
Browse latest Browse all 6799

Error in Imputation Line - by: antonio.grr

$
0
0
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.

Viewing all articles
Browse latest Browse all 6799

Trending Articles