2
0
forked from Wavyzz/dolibarr

Uniformize code and make fix on predefined invoice feature.

This commit is contained in:
Laurent Destailleur
2009-05-27 01:15:44 +00:00
parent 04ca16df2b
commit 930b400458
15 changed files with 366 additions and 235 deletions

View File

@@ -778,6 +778,7 @@ class CommonObject
// Now update field total_ht, total_ttc and tva
$fieldht='total_ht';
if ($this->element == 'facture') $fieldht='total';
if ($this->element == 'facturerec') $fieldht='total';
$fieldtva='tva';
if ($this->element == 'facture_fourn') $fieldtva='total_tva';
$fieldttc='total_ttc';