Update facture.php
This commit is contained in:
parent
4c168b3adb
commit
fff1309cec
@ -3007,6 +3007,7 @@ else if ($id > 0 || ! empty($ref))
|
|||||||
$nbrows=8; $nbcols=2;
|
$nbrows=8; $nbcols=2;
|
||||||
if (! empty($conf->projet->enabled)) $nbrows++;
|
if (! empty($conf->projet->enabled)) $nbrows++;
|
||||||
if (! empty($conf->banque->enabled)) $nbcols++;
|
if (! empty($conf->banque->enabled)) $nbcols++;
|
||||||
|
if (! empty($soc->outstandingbill)) $nbrows++;
|
||||||
if($mysoc->localtax1_assuj=="1") $nbrows++;
|
if($mysoc->localtax1_assuj=="1") $nbrows++;
|
||||||
if($mysoc->localtax2_assuj=="1") $nbrows++;
|
if($mysoc->localtax2_assuj=="1") $nbrows++;
|
||||||
if ($selleruserevenustamp) $nbrows++;
|
if ($selleruserevenustamp) $nbrows++;
|
||||||
@ -3278,6 +3279,18 @@ else if ($id > 0 || ! empty($ref))
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
if ($soc->outstandingbill)
|
||||||
|
{
|
||||||
|
// Outstanding Bill
|
||||||
|
print '<tr><td>';
|
||||||
|
print $langs->trans('OutstandingBill');
|
||||||
|
print '</td><td align=right>';
|
||||||
|
print price($soc->get_OutstandingBill()).' / ';
|
||||||
|
print price($soc->outstandingbill);
|
||||||
|
print '</td>';
|
||||||
|
print '</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
// Amount
|
// Amount
|
||||||
print '<tr><td>'.$langs->trans('AmountHT').'</td>';
|
print '<tr><td>'.$langs->trans('AmountHT').'</td>';
|
||||||
print '<td align="right" colspan="3" nowrap>'.price($object->total_ht,1,'',1,-1,-1,$conf->currency).'</td></tr>';
|
print '<td align="right" colspan="3" nowrap>'.price($object->total_ht,1,'',1,-1,-1,$conf->currency).'</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user