diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index e06583b6a76..faf499bb064 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -218,12 +218,16 @@ if ($_socid > 0)
print '
| '.$langs->trans('Prefix').' | '.$objsoc->prefix_comm.' |
';
- if ($objsoc->client) {
+ if ($objsoc->client)
+ {
print '| ';
print $langs->trans('CustomerCode').' | ';
print $objsoc->code_client;
if ($objsoc->check_codeclient() <> 0) print ' '.$langs->trans("WrongCustomerCode");
print ' |
';
+ }
+ if ($conf->compta->enabled)
+ {
print '';
print '| '.$langs->trans("CustomerAccountancyCode").' | '.$societe->code_compta.' | ';
print '
';