diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index bd8970d6c26..a455d2b51f9 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2292,14 +2292,14 @@ if ($action == 'create') print ''; } - if ($soc->outstandingbill) + if ($soc->outstanding_limit) { // Outstanding Bill print ''; print $langs->trans('OutstandingBill'); print ''; print price($soc->get_OutstandingBill()).' / '; - print price($soc->outstandingbill).''; + print price($soc->outstanding_limit).''; print ''; print ''; }