diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 26c777f788d..cfa5417584b 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1819,15 +1819,7 @@ $now = dol_now(); llxHeader('', $langs->trans('Bill'), 'EN:Customers_Invoices|FR:Factures_Clients|ES:Facturas_a_clientes'); -print ' - -'; + /** * ******************************************************************* @@ -3538,15 +3530,26 @@ if ($action == 'create') // Linked object block $somethingshown = $object->showLinkedObjectBlock(); - if (empty($somethingshown) && $object->statut > 0) { + if (empty($somethingshown) && ! empty($conf->commande->enabled)) + { print '
' . $langs->trans('LinkedOrder') . ''; + print ' + + '; + print '