diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 4e7f7fe1c32..8a35fd7583d 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1998,7 +1998,7 @@ if ($action == 'create') if (!empty($soc->id)) $absolute_discount = $soc->getAvailableDiscounts(); $note_public = $object->getDefaultCreateValueFor('note_public', (is_object($objectsrc)?$objectsrc->note_public:null)); $note_private = $object->getDefaultCreateValueFor('note_private', ((! empty($origin) && ! empty($originid) && is_object($objectsrc))?$objectsrc->note_private:null)); - + if (! empty($conf->use_javascript_ajax)) { require_once DOL_DOCUMENT_ROOT . '/core/lib/ajax.lib.php'; @@ -2197,7 +2197,7 @@ if ($action == 'create') if ((empty($origin)) || ((($origin == 'propal') || ($origin == 'commande')) && (! empty($originid)))) { // Deposit - if (empty($conf->global->INVOICE_DISABLE_DEPOSIT)) + if (empty($conf->global->INVOICE_DISABLE_DEPOSIT)) { print '
| '; print $desc; @@ -2222,7 +2222,7 @@ if ($action == 'create') print ' | ' . $langs->trans('Value') . ':'; } print ' |