diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index ba1e48bb894..1707d4acfaf 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2174,7 +2174,7 @@ if ($action == 'create') print ''."\n"; } - if ((empty($origin)) || (($origin=='propal') && (!empty($originid)))) + if ((empty($origin)) || ((($origin=='propal') || ($origin=='commande')) && (!empty($originid)))) { // Deposit print ''; @@ -2182,7 +2182,7 @@ if ($action == 'create') print ''; $desc=$form->textwithpicto($langs->trans("InvoiceDeposit"),$langs->transnoentities("InvoiceDepositDesc"),1); print ''; - if (($origin=='propal') ) { + if (($origin=='propal') || ($origin=='commande')) { print ''; print '
'.$desc.''.$langs->trans('Value').':';