';
$action='edit'; // Force chargement page en mode creation
@@ -292,7 +292,7 @@ if ($action == 'create')
*/
// Accountancy code
- if ($conf->global->MAIN_BANCK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED)
+ if ($conf->global->MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED)
{
print '
'.$langs->trans("AccountancyCode").'
';
print '
';
@@ -566,7 +566,7 @@ else
print '';
// Accountancy code
- if ($conf->global->MAIN_BANCK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED)
+ if ($conf->global->MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED)
{
print '
'.$langs->trans("AccountancyCode").'
';
print '
account_number).'">
';
diff --git a/htdocs/includes/modules/modAccounting.class.php b/htdocs/includes/modules/modAccounting.class.php
index 462b2074814..0a8960c17db 100644
--- a/htdocs/includes/modules/modAccounting.class.php
+++ b/htdocs/includes/modules/modAccounting.class.php
@@ -74,7 +74,7 @@ class modAccounting extends DolibarrModules
// Constants
$this->const = array(0=>array('MAIN_COMPANY_CODE_ALWAYS_REQUIRED','chaine','1','With this constants on, third party code is always required whatever is numbering module behaviour',0),
- 1=>array('MAIN_BANCK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED','chaine','1','With this constants on, bank account number is always required',0),
+ 1=>array('MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED','chaine','1','With this constants on, bank account number is always required',0),
); // List of particular constants to add when module is enabled