From b092b6861aaca24d242e9470c4e4113ff203b92c Mon Sep 17 00:00:00 2001 From: phf Date: Thu, 11 May 2017 12:48:47 +0200 Subject: [PATCH] Fix feature INVOICE_CREDIT_NOTE_STANDALONE doesn't work --- htdocs/compta/facture.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 8a80fa4bf96..4e7f7fe1c32 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2349,7 +2349,8 @@ if ($action == 'create') else { print '
'; - $tmp=' '; + if (empty($conf->global->INVOICE_CREDIT_NOTE_STANDALONE)) $tmp=' '; + else $tmp=' '; $text = $tmp.$langs->trans("InvoiceAvoir") . ' '; $text.= '('.$langs->trans("YouMustCreateInvoiceFromThird").') '; $desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceAvoirDesc"), 1, 'help', '', 0, 3);