NEW: add constant MAIN_IBAN_NOT_MANDATORY

This commit is contained in:
Christophe Battarel 2021-08-06 16:35:49 +02:00
parent 4c3c613568
commit cbc7589559

View File

@ -1519,6 +1519,10 @@ class Account extends CommonObject
*/
public function needIBAN()
{
global $conf;
if ( ! empty($conf->global->MAIN_IBAN_NOT_MANDATORY) ) return 0;
$country_code = $this->getCountryCode();
$country_code_in_EEC = array(