View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Bill print error - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Bill print error

More
26 Oct 2016 15:21 #1 by antonio.grr
Bill print error was created by antonio.grr
Hi.
I encountered a problem while trying to print a bill in pdf format from Bills page. It seems that html to pdf converterd find html tags closed in wrong order.
I fixed the bug changing the code in ObjectDetail.php from


} else if (substr($col, 0, 5) == '_spe_') { // if field is _spe_xxxx, draw the specific item xxx
$item=substr($col, 5);
if ($internalTable) echo '<td>';
else echo '<tr><td colspan=2>';
echo $obj->drawSpecificItem($item); // the method must be implemented in the corresponidng class
if ($internalTable) echo '<td>';
else echo '</td></tr>';

to

} else if (substr($col, 0, 5) == '_spe_') { // if field is _spe_xxxx, draw the specific item xxx
$item = substr($col, 5);
if ($internalTable) {
if ($internalTable % $internalTableCols == 0) {
echo '</td><td>' . $cr;
$internalTableCurrentRow++;
} else {
echo '</td><td>';
}
} else {
echo '<tr><td colspan=2>';
}
echo $obj->drawSpecificItem($item); // the method must be implemented in the corresponidng class
if ($internalTable) {
// echo '<td>';
} else {
echo '</td></tr>';
}

I'm not sure that this changes are safe for all usages of the module.
Best regards
The topic has been locked.
More
26 Oct 2016 18:07 #2 by babynus
Replied by babynus on topic Bill print error
Hi,

Thanks for the fix.
We'll test it and include it in next release if it bring no regression elswhere.

Babynus
Administrator of ProjeQtOr web site
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.030 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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