';
// Propals
if (! empty($conf->propal->enabled) && $user->rights->propale->creer)
@@ -1325,42 +1326,42 @@ if ($object->id && ($action == '' || $action == 'view') && $object->status)
$langs->load("propal");
- print '
';
- print '| '.$langs->trans("AddToOtherProposals").' | ';
- print '
';
- print '| ';
+ $html .= ' |
';
+ $html .= '| '.$langs->trans("AddToOtherProposals").' | ';
+ $html .= '
';
+ $html .= '| ';
$var=true;
$otherprop = $propal->liste_array(2,1,0);
- print '';
- print ' | ';
- print '
';
+ $html .= '';
+ $html .= '';
}
// Commande
@@ -1370,42 +1371,42 @@ if ($object->id && ($action == '' || $action == 'view') && $object->status)
$langs->load("orders");
- print '
';
- print '| '.$langs->trans("AddToOtherOrders").' | ';
- print '
';
- print '| ';
+ $html .= ' |
';
+ $html .= '| '.$langs->trans("AddToOtherOrders").' | ';
+ $html .= '
';
+ $html .= '| ';
$var=true;
$othercom = $commande->liste_array(2, 1, null);
- print '';
- print ' | ';
- print '
';
+ $html .= '';
+ $html .= '';
}
// Factures
@@ -1415,47 +1416,52 @@ if ($object->id && ($action == '' || $action == 'view') && $object->status)
$langs->load("bills");
- print '
';
- print '| '.$langs->trans("AddToOtherOrders").' | ';
- print '
';
- print '| ';
-
- $var=true;
- $otherinvoice = $invoice->liste_array(2, 1, null);
- print 'id.'">';
- print '';
- print '';
- print '';
-
- print ' | ';
- print '
';
+ $html .= '
';
+ $html .= '| '.$langs->trans("AddToOtherOrders").' | ';
+ $html .= '
';
+ $html .= '| ';
+
+ $var=true;
+ $otherinvoice = $invoice->liste_array(2, 1, null);
+ $html .= 'id.'">';
+ $html .= '';
+ $html .= '';
+ $html .= '';
+
+ $html .= ' | ';
+ $html .= '
';
}
- print '