From 80653409a2ff6a019434022956bfd0f112b7e30e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Aug 2014 14:57:08 +0200 Subject: [PATCH] Fix: Missing join into request. --- htdocs/compta/facture.php | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index de636bf5bdb..fbe462ca0e7 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1818,15 +1818,7 @@ $now = dol_now(); llxHeader('', $langs->trans('Bill'), 'EN:Customers_Invoices|FR:Factures_Clients|ES:Facturas_a_clientes'); -print ' - -'; + /** * ******************************************************************* @@ -3572,15 +3564,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 '