diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index 36adda33067..8d791dcbca7 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -6598,7 +6598,7 @@ if ($action == 'create') { $langs->load("contracts"); if ($usercancreatecontract) { - print '' . $langs->trans('AddContract') . ''; + print '' . $langs->trans('AddContract') . ''; } } } @@ -6657,7 +6657,7 @@ if ($action == 'create') { } // Request a direct debit order - if ($object->status > Facture::STATUS_DRAFT && $object->paye == 0 && $num == 0) { + if ($object->status > Facture::STATUS_DRAFT && $object->paye == 0) { if ($resteapayer > 0) { if ($usercancreatewithdrarequest) { if (!$objectidnext && $object->close_code != 'replaced') { // Not replaced by another invoice