mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge branch '12.0_new_allow_extrafields_on_pdf' of github.com:atm-john/dolibarr into 12.0_new_allow_extrafields_on_pdf
This commit is contained in:
commit
f611e4fc0e
|
|
@ -1278,7 +1278,6 @@ abstract class CommonDocGenerator
|
|||
|
||||
// for some type we need line break
|
||||
if (in_array($field->type, $params['table']['arrayOfLineBreakType'])) {
|
||||
|
||||
if ($itemsInRow > 0) {
|
||||
// close table row and empty cols
|
||||
for ($i = $itemsInRow; $i <= $maxItemsInRow; $i++) {
|
||||
|
|
@ -1295,7 +1294,6 @@ abstract class CommonDocGenerator
|
|||
$html .= '<strong>' . $field->label . ' :</strong> ';
|
||||
$html .= $field->content;
|
||||
$html .= "</td>";
|
||||
|
||||
} else {
|
||||
$itemsInRow++;
|
||||
$html .= '<td width="'.$params['table']['labelcolwidth'].'" class="extrafield-label">';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user