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.

Error in Imputation...
 
Notifications
Clear all

Error in Imputation Line

2 Posts
2 Users
0 Reactions
2,396 Views
(@antonio-grr)
Posts: 84
Active Member
Topic starter
 
[#4040]

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 '';
}

echo '
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';
';
echo '

';

to
if (!$print) {
echo '';

echo '
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';
';
echo '

';
}
.from (line 1051)
$classTotalWork . ' imputation" value="' . $totalWork . '"

';
.
to
$classTotalWork . ' imputation" value="' . $totalWork . '">

';
from (lines 1055:1058)
if (!$print) {
echo '

';
echo '

';
}

to
echo '

';
if (!$print) {
echo '

';
}

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.


 
Posted : 25 Jan 2017 14H49
(@babynus)
Posts: 14952
Member Admin
 

Thanks for the fix.
Will be included in next version.

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


 
Posted : 26 Jan 2017 0H36
Share:

Scroll to Top