diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index ee62ac5d977..7e8230eccd8 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3007,6 +3007,7 @@ else if ($id > 0 || ! empty($ref)) $nbrows=8; $nbcols=2; if (! empty($conf->projet->enabled)) $nbrows++; if (! empty($conf->banque->enabled)) $nbcols++; + if (! empty($soc->outstandingbill)) $nbrows++; if($mysoc->localtax1_assuj=="1") $nbrows++; if($mysoc->localtax2_assuj=="1") $nbrows++; if ($selleruserevenustamp) $nbrows++; @@ -3278,6 +3279,18 @@ else if ($id > 0 || ! empty($ref)) } print ''; + if ($soc->outstandingbill) + { + // Outstanding Bill + print ''; + print $langs->trans('OutstandingBill'); + print ''; + print price($soc->get_OutstandingBill()).' / '; + print price($soc->outstandingbill); + print ''; + print ''; + } + // Amount print ''.$langs->trans('AmountHT').''; print ''.price($object->total_ht,1,'',1,-1,-1,$conf->currency).'';