mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-10 01:42:33 +01:00
Merge branch '3.2' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.2.1
This commit is contained in:
@@ -78,7 +78,8 @@ class mod_codecompta_panicum extends ModeleAccountancyCode
|
||||
function get_code($db, $societe, $type='')
|
||||
{
|
||||
// Renvoie toujours ok
|
||||
$this->code = $societe->code_compta;
|
||||
if ($type == 'supplier') $this->code = $societe->code_compta_fournisseur;
|
||||
else $this->code = $societe->code_compta;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user