Skip to content
Snippets Groups Projects
Commit 3af7ca5a authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Work on revenue stamp feature.

parent 34bfdb18
No related branches found
No related tags found
No related merge requests found
......@@ -1509,6 +1509,9 @@ abstract class CommonObject
$this->total_localtax2 += $obj->total_localtax2;
$this->total_ttc += $obj->total_ttc;
// Add revenue stamp to total
$this->total_ttc += isset($this->revenuestamp)?$this->revenuestamp:0;
// Check if there is a global invoice tax for this vat rate
// FIXME: We should have no database access into this function. Also localtax 7 seems to have problem so i add condition to avoid it into standard usage without loosing it.
if (! empty($conf->global->MAIN_USE_LOCALTAX_TYPE_7))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment