diff --git a/htdocs/public/payment/newpayment.php b/htdocs/public/payment/newpayment.php index 836540e6a58..1da245bf933 100644 --- a/htdocs/public/payment/newpayment.php +++ b/htdocs/public/payment/newpayment.php @@ -1437,7 +1437,11 @@ if ($action != 'dopayment') { if ($found && ! $error) // We are in a management option and no error { - if ($source == 'invoice' && $object->paye) + if ($source == 'order' && $object->billed) + { + print '

'.$langs->trans("OrderBilled").''; + } + elseif ($source == 'invoice' && $object->paye) { print '

'.$langs->trans("InvoicePaid").''; }