Fixing style errors.
This commit is contained in:
parent
e43b95f05a
commit
7c3b2f1e9b
@ -589,7 +589,7 @@ function Search2(keyCodeForEnter) {
|
||||
?>
|
||||
var titlestring = <?php echo $titlestring; ?>;
|
||||
<?php
|
||||
if ($conf->global->TAKEPOS_SHOW_PRODUCT_REFERENCE == 1) { ?>
|
||||
if ($conf->global->TAKEPOS_SHOW_PRODUCT_REFERENCE == 1) { ?>
|
||||
$("#prodesc" + i).html(data[i]['ref'].bold() + ' - ' + data[i]['label']);
|
||||
<?php } else { ?>
|
||||
$("#prodesc" + i).text(data[i]['label']);
|
||||
|
||||
@ -1447,9 +1447,9 @@ if ($placeid > 0) {
|
||||
$tooltiptext .= $line->desc;
|
||||
}
|
||||
}
|
||||
if ($conf->global->TAKEPOS_SHOW_PRODUCT_REFERENCE == 1) {
|
||||
if ($conf->global->TAKEPOS_SHOW_PRODUCT_REFERENCE == 1) {
|
||||
$htmlforlines .= $form->textwithpicto($line->product_label ? '<b>' . $line->product_ref . '</b> - ' . $line->product_label : dolGetFirstLineOfText($line->desc, 1), $tooltiptext);
|
||||
} else {
|
||||
} else {
|
||||
$htmlforlines .= $form->textwithpicto($line->product_label ? $line->product_label : ($line->product_ref ? $line->product_ref : dolGetFirstLineOfText($line->desc, 1)), $tooltiptext);
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user