Work on revenue stamp feature.
This commit is contained in:
parent
34bfdb1846
commit
3af7ca5ac8
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user