diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index ee16c4df1e3..f8bc0ac33b4 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -482,7 +482,7 @@ if ($_GET["action"] == 'create') print '
| '.$langs->trans("Customer").' : | '.$soc->nom.' | '; + print '|||||||||||||||||
| '.$langs->trans("Company").' : | '.$soc->nom.' | '; print ''.$langs->trans("Comment").' | ||||||||||||||||
| '.$langs->trans("Author").' : | '.$user->fullname.' | '; @@ -823,7 +823,7 @@ else * Facture */ print '|||||||||||||||||
| '.$langs->trans("Customer").' | '; + print '|||||||||||||||
| '.$langs->trans("Company").' | '; print ''; print ''.$soc->nom.' | '; diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php index 446406a45a4..e713244c97c 100644 --- a/htdocs/compta/facture/apercu.php +++ b/htdocs/compta/facture/apercu.php @@ -91,9 +91,9 @@ if ($_GET["facid"] > 0) * Facture */ print '||||||||||||||
| '.$langs->trans("Customer").' | '; + print '||||
| '.$langs->trans("Company").' | '; print ''; - print ''.$soc->nom.' | '; + print ''.$soc->nom.''; print "Conditions de réglement : " . $fac->cond_reglement ." | ||
| '.$langs->trans("Company").' | '; - if ($societe->client == 1) + if ($soc->client == 1) { - $url ='fiche.php?socid='.$societe->id; + $url = DOL_URL_ROOT.'/compta/fiche.php?socid='.$soc->id; } else { - $url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$societe->id; + $url = DOL_URL_ROOT.'/comm/prospect/fiche.php?socid='.$soc->id; } - print ''.$societe->nom.' | '; + print ''.$soc->nom.''; print ''.$langs->trans("Status").' | '.$facture->statut_libelle.' |
| Date | '.strftime("%A %d %B %Y",$facture->date); |