diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index aed5a1b81c4..b80d2193c87 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -244,7 +244,10 @@ if ($socid > 0) print $societe->tva_intra; print ''; - print ''.$langs->trans('Capital').''.$societe->capital.' '.$langs->trans("Currency".$conf->monnaie).''; + print ''.$langs->trans('Capital').''; + if ($societe->capital) print $societe->capital.' '.$langs->trans("Currency".$conf->monnaie); + else print ' '; + print ''; // Type + Staff $arr = $societe->typent_array($societe->typent_id); diff --git a/htdocs/soc.php b/htdocs/soc.php index 21d6a3cb77e..3dd722e6b22 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -794,7 +794,11 @@ else print $soc->tva_intra; print ''; - print ''.$langs->trans('Capital').''.$soc->capital.' '.$langs->trans("Currency".$conf->monnaie).''; + // Capital + print ''.$langs->trans('Capital').''; + if ($soc->capital) print $soc->capital.' '.$langs->trans("Currency".$conf->monnaie); + else print ' '; + print ''; // Statut juridique print ''.$langs->trans('JuridicalStatus').''.$soc->forme_juridique.'';