Forum

Error in Imputation...
 
Notifications
Retirer tout

Error in Imputation Line

2 Posts
2 Utilisateurs
0 Reactions
2,395 Vu
(@antonio-grr)
Posts: 84
Active Member
Début du sujet
 
[#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.


 
Posté : 25 Jan PM 14:011
(@babynus)
Posts: 14952
Membre Admin
 

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

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


 
Posté : 26 Jan AM 00:011
Share:
Retour en haut