Cleaned code
This commit is contained in:
parent
6facd01c48
commit
c8b1e705a4
1 changed files with 1 additions and 1 deletions
|
|
@ -4403,7 +4403,7 @@ class Societe extends CommonObject
|
|||
$this->logo_squarred_mini = getDolGlobalString('MAIN_INFO_SOCIETE_LOGO_SQUARRED_MINI');
|
||||
|
||||
// Define if company use vat or not
|
||||
$this->tva_assuj = (is_numeric(getDolGlobalString('FACTURE_TVAOPTION'))) ? (int) getDolGlobalString('FACTURE_TVAOPTION') : 0;
|
||||
$this->tva_assuj = getDolGlobalInt('FACTURE_TVAOPTION');
|
||||
|
||||
// Define if company use local taxes
|
||||
$this->localtax1_assuj = ((isset($conf->global->FACTURE_LOCAL_TAX1_OPTION) && (getDolGlobalString('FACTURE_LOCAL_TAX1_OPTION') == '1' || getDolGlobalString('FACTURE_LOCAL_TAX1_OPTION') == 'localtax1on')) ? 1 : 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue