diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php index 694ec32cfab..d36a25e8063 100644 --- a/htdocs/commande/contact.php +++ b/htdocs/commande/contact.php @@ -19,11 +19,11 @@ */ /** - \file htdocs/commande/contact.php - \ingroup commande - \brief Onglet de gestion des contacts de commande - \version $Id$ -*/ + * \file htdocs/commande/contact.php + * \ingroup commande + * \brief Onglet de gestion des contacts de commande + * \version $Id$ + */ require("../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/commande/class/commande.class.php"); @@ -180,7 +180,7 @@ if ($id > 0 || ! empty($ref)) dol_fiche_head($head, 'contact', $langs->trans("CustomerOrder"), 0, 'order'); - /* + /* * Facture synthese pour rappel */ print '
| '.$langs->trans("Company").' | '; print ''.$langs->trans("Contacts").' | '; print ''.$langs->trans("ContactType").' | '; - print ''; + print ' | '; print "\n"; $var = false; @@ -239,7 +239,7 @@ if ($id > 0 || ! empty($ref)) print ''; // Ligne ajout pour contact interne - print " |
| '; print img_object('','user').' '.$langs->trans("Users"); @@ -250,7 +250,7 @@ if ($id > 0 || ! empty($ref)) print ' | '; print ''; - //$userAlreadySelected = $commande->getListContactId('internal'); // On ne doit pas desactiver un contact deja selectionner car on doit pouvoir le seclectionner une deuxieme fois pour un autre type + //$userAlreadySelected = $commande->getListContactId('internal'); // On ne doit pas desactiver un contact deja selectionne car on doit pouvoir le selectionner une deuxieme fois pour un autre type $html->select_users($user->id,'contactid',0,$userAlreadySelected); print ' | '; print ''; @@ -269,7 +269,7 @@ if ($id > 0 || ! empty($ref)) // Ligne ajout pour contact externe $var=!$var; - print " |
| '; print img_object('','contact').' '.$langs->trans("ThirdPartyContacts"); @@ -281,7 +281,7 @@ if ($id > 0 || ! empty($ref)) print ' | '; print ''; - // $contactAlreadySelected = $commande->getListContactId('external'); // On ne doit pas desactiver un contact deja selectionner car on doit pouvoir le seclectionner une deuxieme fois pour un autre type + // $contactAlreadySelected = $commande->getListContactId('external'); // On ne doit pas desactiver un contact deja selectionne car on doit pouvoir le selectionner une deuxieme fois pour un autre type $nbofcontacts=$html->select_contacts($selectedCompany, '', 'contactid', 0, $contactAlreadySelected); if ($nbofcontacts == 0) print $langs->trans("NoContactDefined"); print ' | '; @@ -395,7 +395,7 @@ if ($id > 0 || ! empty($ref)) } else { - // Contrat non trouv + // Contrat non trouve print "ErrorRecordNotFound"; } }