fix : The property total_vat does not exist on Reception

This commit is contained in:
Philippe GRAND 2019-02-21 14:38:12 +01:00
parent 33164bcb3e
commit 5a88930062

View File

@ -300,7 +300,7 @@ class doc_generic_reception_odt extends ModelePdfReception
'__FROM_EMAIL__' => $this->emetteur->email, '__FROM_EMAIL__' => $this->emetteur->email,
'__TOTAL_TTC__' => $object->total_ttc, '__TOTAL_TTC__' => $object->total_ttc,
'__TOTAL_HT__' => $object->total_ht, '__TOTAL_HT__' => $object->total_ht,
'__TOTAL_VAT__' => $object->total_vat '__TOTAL_VAT__' => $object->total_tva
); );
complete_substitutions_array($substitutionarray, $langs, $object); complete_substitutions_array($substitutionarray, $langs, $object);
// Call the ODTSubstitution hook // Call the ODTSubstitution hook