From 65412b77de99526531553756c3926ddcfd6bab7f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 18 Dec 2018 20:16:02 +0100 Subject: [PATCH] Default nb of digits for customer code "monkey" template is on 5 digits. --- htdocs/core/modules/societe/mod_codeclient_monkey.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/htdocs/core/modules/societe/mod_codeclient_monkey.php b/htdocs/core/modules/societe/mod_codeclient_monkey.php index b6c8bfaa248..77bb7c54a64 100644 --- a/htdocs/core/modules/societe/mod_codeclient_monkey.php +++ b/htdocs/core/modules/societe/mod_codeclient_monkey.php @@ -120,19 +120,14 @@ class mod_codeclient_monkey extends ModeleThirdPartyCode { global $db, $conf, $mc; - $return='000001'; - $field=''; - $where=''; $prefix = ''; if ($type == 0) { $field = 'code_client'; $prefix = $this->prefixcustomer; - //$where = ' AND client in (1,2)'; } elseif ($type == 1) { $field = 'code_fournisseur'; $prefix = $this->prefixsupplier; - //$where = ' AND fournisseur = 1'; } else { return -1; }