From e985d2023d70850f91214382191d660840742a1b Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Thu, 25 May 2006 16:43:09 +0000
Subject: [PATCH] =?UTF-8?q?Nom=20de=20soci=E9t=E9=20en=20lien=20avec=20pic?=
 =?UTF-8?q?to?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/compta/paiement.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php
index 057e8e334e4..c4d3d4669f8 100644
--- a/htdocs/compta/paiement.php
+++ b/htdocs/compta/paiement.php
@@ -33,6 +33,7 @@ require_once(DOL_DOCUMENT_ROOT.'/paiement.class.php');
 include_once(DOL_DOCUMENT_ROOT.'/facture.class.php');
 include_once(DOL_DOCUMENT_ROOT.'/compta/bank/account.class.php');
 
+$langs->load('companies');
 $langs->load('bills');
 $langs->load('banks');
 
@@ -230,7 +231,7 @@ if ($_GET['action'] == 'create' || $_POST['action'] == 'add_paiement')
 
 			print '<table class="border" width="100%">';
 
-			print '<tr><td>'.$langs->trans('Company').'</td><td colspan="2">'.$obj->nom."</td></tr>\n";
+			print '<tr><td>'.$langs->trans('Company').'</td><td colspan="2"><a href="fiche.php?socid='.$obj->id.'">'.img_object($langs->trans("ShowCompany"),'company').' '.$obj->nom."</a></td></tr>\n";
 
 			print '<tr><td>'.$langs->trans('Date').'</td><td>';
 			if (!empty($_POST['remonth']) && !empty($_POST['reday']) && !empty($_POST['reyear']))
-- 
GitLab