Update html.form.class.php

This commit is contained in:
Laurent Destailleur 2018-12-13 20:51:45 +01:00 committed by GitHub
parent 8bd2efe648
commit 3484b50511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4895,7 +4895,8 @@ class Form
if (is_object($societe_vendeuse) && $societe_vendeuse->id == $mysoc->id && $societe_vendeuse->tva_assuj == "0")
{
// Override/enable VAT for expense report regardless of global setting - needed if expense report used for business expenses
if (empty ($conf->global->OVERRIDE_VAT_FOR_EXPENSE_REPORT)) {
if (empty($conf->global->OVERRIDE_VAT_FOR_EXPENSE_REPORT))
{
$title=' title="'.$langs->trans('VATIsNotUsed').'"';
$disabled=true;
}