Fix status of supplier invoice
This commit is contained in:
parent
ab78930476
commit
e004d39ed4
@ -363,7 +363,8 @@ if ((!empty($conf->fournisseur->enabled) && empty($conf->global->MAIN_USE_NEW_SU
|
|||||||
}
|
}
|
||||||
print '<td class="nowrap right"><span class="amount">'.price($obj->total_ttc).'</span></td>';
|
print '<td class="nowrap right"><span class="amount">'.price($obj->total_ttc).'</span></td>';
|
||||||
print '<td class="right">'.dol_print_date($db->jdate($obj->tms), 'day').'</td>';
|
print '<td class="right">'.dol_print_date($db->jdate($obj->tms), 'day').'</td>';
|
||||||
print '<td>'.$facstatic->getLibStatut(3).'</td>';
|
$alreadypaid = $facstatic->getSommePaiement();
|
||||||
|
print '<td>'.$facstatic->getLibStatut(3, $alreadypaid).'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
$total_ht += $obj->total_ht;
|
$total_ht += $obj->total_ht;
|
||||||
$total_ttc += $obj->total_ttc;
|
$total_ttc += $obj->total_ttc;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user