Fixing style errors.
This commit is contained in:
parent
66f7085225
commit
453ff4aa66
@ -2195,7 +2195,6 @@ function pdf_getLinkedObjects(&$object, $outputlangs)
|
|||||||
$outputlangs->loadLangs(array("orders", "sendings"));
|
$outputlangs->loadLangs(array("orders", "sendings"));
|
||||||
|
|
||||||
if(count($objects) > 1) {
|
if(count($objects) > 1) {
|
||||||
|
|
||||||
$order = null;
|
$order = null;
|
||||||
if(empty($object->linkedObjects['commande']) && $object->element != 'commande') $object->note_public .= '<br/>'.$outputlangs->transnoentities("RefOrder").' / '.$outputlangs->transnoentities("RefSending").' : <br/>';
|
if(empty($object->linkedObjects['commande']) && $object->element != 'commande') $object->note_public .= '<br/>'.$outputlangs->transnoentities("RefOrder").' / '.$outputlangs->transnoentities("RefSending").' : <br/>';
|
||||||
else $object->note_public .= '<br/>'.$outputlangs->transnoentities("RefSending").' : <br/>';
|
else $object->note_public .= '<br/>'.$outputlangs->transnoentities("RefSending").' : <br/>';
|
||||||
@ -2215,13 +2214,11 @@ function pdf_getLinkedObjects(&$object, $outputlangs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(! is_object($order)) {
|
if(! is_object($order)) {
|
||||||
|
|
||||||
$object->note_public .= $outputlangs->transnoentities($elementobject->ref);
|
$object->note_public .= $outputlangs->transnoentities($elementobject->ref);
|
||||||
$object->note_public .= '<br/>';
|
$object->note_public .= '<br/>';
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
|
||||||
$object->note_public .= $outputlangs->convToOutputCharset($order->ref).($order->ref_client ? ' ('.$order->ref_client.')' : '');
|
$object->note_public .= $outputlangs->convToOutputCharset($order->ref).($order->ref_client ? ' ('.$order->ref_client.')' : '');
|
||||||
$object->note_public .= ' / '.$outputlangs->transnoentities($elementobject->ref);
|
$object->note_public .= ' / '.$outputlangs->transnoentities($elementobject->ref);
|
||||||
$object->note_public .= '<br/>';
|
$object->note_public .= '<br/>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user