From 5dcc7e08ae0ddb13c66ec17a43698c17feac6e5f Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Wed, 10 Feb 2010 14:16:36 +0000
Subject: [PATCH] Add link to check a SIREN

---
 ChangeLog                | 2 ++
 htdocs/admin/company.php | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index e4e784a3a20..3060679034f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,8 @@ For users:
 - New: Can define the new product ref when cloning.
 - New: Project module support status of project and end date.
 - New: Provide a debian/ubuntu package.
+- New: Add link to check a SIREN for french users.
+- New: Add link "now" to fill date when creating invoices.
 - Fix: Import module works even if prefix is empty in source file.
 - Fix: bug #28055 : Unable to modify the date of a cloned command.
 - Fix: bug #27891.
diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 91c4878c520..dd26dee484f 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -689,7 +689,7 @@ else
 		if ($langs->transcountry("ProfId1",$code_pays) != '-')
 		{
 			print $conf->global->MAIN_INFO_SIREN;
-			if ($code_pays == 'FR') print ' &nbsp; <a href="http://avis-situation-sirene.insee.fr/avisitu/jsp/avis.jsp">'.$langs->trans("Check").'</a>';
+			if ($code_pays == 'FR') print ' &nbsp; <a href="http://avis-situation-sirene.insee.fr/avisitu/jsp/avis.jsp" target="_blank">'.$langs->trans("Check").'</a>';
 		}
 		print '</td></tr>';
 	}
-- 
GitLab