From ceb6199e87fa72660bf38fb8ca996ad745f64fbd Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 30 Jul 2016 12:31:32 +0200 Subject: [PATCH] Fix default numbering module of customer code was not enabled. --- htdocs/core/modules/modSociete.class.php | 2 +- htdocs/societe/rib.php | 32 ++++++++++++------------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/htdocs/core/modules/modSociete.class.php b/htdocs/core/modules/modSociete.class.php index baf680f0352..a8c1bc5bad8 100644 --- a/htdocs/core/modules/modSociete.class.php +++ b/htdocs/core/modules/modSociete.class.php @@ -77,7 +77,7 @@ class modSociete extends DolibarrModules $this->const[$r][0] = "SOCIETE_CODECLIENT_ADDON"; $this->const[$r][1] = "chaine"; - $this->const[$r][2] = "mod_codeclient_leopard"; + $this->const[$r][2] = "mod_codeclient_monkey"; $this->const[$r][3] = 'Module to control third parties codes'; $this->const[$r][4] = 0; $r++; diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index 0d8cdcc1264..58693b59d5b 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -424,7 +424,7 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer) print '
'; print ''; - print ''; + print ''; print ''; print ''; @@ -456,22 +456,22 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer) } // IBAN - print ''; + print ''; print ''; - print ''; + print ''; print ''; - print '"; - print ''; + print ''; print ''; print "\n"; - print '"; @@ -487,11 +487,11 @@ if ($socid && $action == 'edit' && $user->rights->societe->creer) if (empty($account->rum)) $account->rum = $prelevement->buildRumNumber($object->code_client, $account->datec, $account->id); // RUM - print ''; + print ''; print ''; // FRSTRECUR - print ''; + print ''; print ''; print '
'.$langs->trans("LabelRIB").'
'.$langs->trans("LabelRIB").'
'.$langs->trans("BankName").'
'.$langs->trans("IBAN").'
'.$langs->trans("IBAN").'
'.$langs->trans("BIC").'
'.$langs->trans("BIC").'
'.$langs->trans("BankAccountDomiciliation").''; + print '
'.$langs->trans("BankAccountDomiciliation").''; print '
'.$langs->trans("BankAccountOwner").'
'.$langs->trans("BankAccountOwner").'
'.$langs->trans("BankAccountOwnerAddress").''; + print '
'.$langs->trans("BankAccountOwnerAddress").''; print "
'.$langs->trans("RUM").'
'.$langs->trans("RUM").''.$account->rum.'
'.$langs->trans("WithdrawMode").'
'.$langs->trans("WithdrawMode").'
'; @@ -521,7 +521,7 @@ if ($socid && $action == 'create' && $user->rights->societe->creer) print '
'; print ''; - print ''; + print ''; print ''; print ''; @@ -557,22 +557,22 @@ if ($socid && $action == 'create' && $user->rights->societe->creer) } // IBAN - print ''; + print ''; print ''; - print ''; + print ''; print ''; - print '"; - print ''; + print ''; print ''; print "\n"; - print '"; @@ -586,11 +586,11 @@ if ($socid && $action == 'create' && $user->rights->societe->creer) print '
'.$langs->trans("LabelRIB").'
'.$langs->trans("LabelRIB").'
'.$langs->trans("Bank").'
'.$langs->trans("IBAN").'
'.$langs->trans("IBAN").'
'.$langs->trans("BIC").'
'.$langs->trans("BIC").'
'.$langs->trans("BankAccountDomiciliation").''; + print '
'.$langs->trans("BankAccountDomiciliation").''; print '
'.$langs->trans("BankAccountOwner").'
'.$langs->trans("BankAccountOwner").'
'.$langs->trans("BankAccountOwnerAddress").''; + print '
'.$langs->trans("BankAccountOwnerAddress").''; print '
'; // RUM - print ''; + print ''; print ''; // FRSTRECUR - print ''; + print ''; print ''; print '
'.$langs->trans("RUM").'
'.$langs->trans("RUM").''.$langs->trans("RUMWillBeGenerated").'
'.$langs->trans("WithdrawMode").'
'.$langs->trans("WithdrawMode").'
';