Code comment
This commit is contained in:
parent
4c6a4ade5b
commit
c27f90958e
@ -5268,8 +5268,9 @@ class Form
|
||||
$disabled = false; $title = '';
|
||||
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))
|
||||
// Override/enable VAT for expense report regardless of global setting - needed if expense report used for business expenses instead
|
||||
// of using supplier invoices (this is a very bad idea !)
|
||||
if (empty($conf->global->EXPENSEREPORT_OVERRIDE_VAT))
|
||||
{
|
||||
$title = ' title="'.$langs->trans('VATIsNotUsed').'"';
|
||||
$disabled = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user