[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-cvs] dolibarr/htdocs/commande contact.php
From: |
Regis Houssin |
Subject: |
[Dolibarr-cvs] dolibarr/htdocs/commande contact.php |
Date: |
Thu, 08 Jun 2006 14:34:37 +0000 |
CVSROOT: /cvsroot/dolibarr
Module name: dolibarr
Changes by: Regis Houssin <hregis> 06/06/08 14:34:37
Modified files:
htdocs/commande: contact.php
Log message:
Fix: la société n'était pas sélectionnée par défaut dans la liste
déroulante
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dolibarr/htdocs/commande/contact.php?cvsroot=dolibarr&r1=1.4&r2=1.5
Patches:
Index: contact.php
===================================================================
RCS file: /cvsroot/dolibarr/dolibarr/htdocs/commande/contact.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- contact.php 3 Jun 2006 14:59:59 -0000 1.4
+++ contact.php 8 Jun 2006 14:34:36 -0000 1.5
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: contact.php,v 1.4 2006/06/03 14:59:59 eldy Exp $
+ * $Id: contact.php,v 1.5 2006/06/08 14:34:36 hregis Exp $
* $Source: /cvsroot/dolibarr/dolibarr/htdocs/commande/contact.php,v $
*/
@@ -24,7 +24,7 @@
\file htdocs/compta/contact.php
\ingroup facture
\brief Onglet de gestion des contacts des factures
- \version $Revision: 1.4 $
+ \version $Revision: 1.5 $
*/
require ("./pre.inc.php");
@@ -250,8 +250,11 @@
print '</tr>';
// Customer
+ if ( is_null($commande->client) )
+ $commande->fetch_client();
+
print "<tr><td>".$langs->trans("Company")."</td>";
- print '<td colspan="3">'.$soc->getNomUrl(1).'</td></tr>';
+ print '<td
colspan="3">'.$commande->client->getNomUrl(1).'</td></tr>';
print "</table>";
print '</div>';
@@ -441,5 +444,5 @@
$db->close();
-llxFooter('$Date: 2006/06/03 14:59:59 $');
+llxFooter('$Date: 2006/06/08 14:34:36 $');
?>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-cvs] dolibarr/htdocs/commande contact.php,
Regis Houssin <=