Fix position of text
This commit is contained in:
parent
50470f84c4
commit
379dd9ccbb
@ -195,16 +195,17 @@ if (($line->info_bits & 2) == 2) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//print get_date_range($line->date_start, $line->date_end, $format);
|
//print get_date_range($line->date_start, $line->date_end, $format);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add description in form
|
// Add description in form
|
||||||
if ($line->fk_product > 0 && !empty($conf->global->PRODUIT_DESC_IN_FORM)) {
|
if ($line->fk_product > 0 && !empty($conf->global->PRODUIT_DESC_IN_FORM)) {
|
||||||
|
if ($line->element == 'facturedetrec') {
|
||||||
|
print (!empty($line->description) && $line->description != $line->product_label) ? (($line->date_start_fill || $line->date_end_fill) ? '' : '<br>').'<br>'.dol_htmlentitiesbr($line->description) : '';
|
||||||
|
} else {
|
||||||
print (!empty($line->description) && $line->description != $line->product_label) ? (($line->date_start || $line->date_end) ? '' : '<br>').'<br>'.dol_htmlentitiesbr($line->description) : '';
|
print (!empty($line->description) && $line->description != $line->product_label) ? (($line->date_start || $line->date_end) ? '' : '<br>').'<br>'.dol_htmlentitiesbr($line->description) : '';
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Line extrafield
|
// Line extrafield
|
||||||
if (!empty($extrafields)) {
|
if (!empty($extrafields)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user