diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index 7ea4fedc0c8..769b7de07ef 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -292,8 +292,8 @@ if ($result) print ''; } else if ($links[$key]['type']=='company') { - print ''; - print img_object($langs->trans('ShowCustomer'),'company').' '; + print ''; + print img_object($langs->trans('ShowThirdParty'),'company').' '; print $links[$key]['label']; print ''; } diff --git a/htdocs/compta/paiement/class/paiement.class.php b/htdocs/compta/paiement/class/paiement.class.php index 9d82834baeb..b9ef13b93e5 100644 --- a/htdocs/compta/paiement/class/paiement.class.php +++ b/htdocs/compta/paiement/class/paiement.class.php @@ -386,7 +386,7 @@ class Paiement if (! in_array($fac->thirdparty->id,$linkaddedforthirdparty)) // Not yet done for this thirdparty { $result=$acc->add_url_line($bank_line_id, $fac->thirdparty->id, - DOL_URL_ROOT.'/compta/fiche.php?socid=', $fac->thirdparty->nom, 'company'); + DOL_URL_ROOT.'/comm/fiche.php?socid=', $fac->thirdparty->nom, 'company'); if ($result <= 0) dol_print_error($this->db); $linkaddedforthirdparty[$fac->thirdparty->id]=$fac->thirdparty->id; // Mark as done for this thirdparty } diff --git a/htdocs/compta/prelevement/facturesrejets.php b/htdocs/compta/prelevement/facturesrejets.php index 30dc422d5d2..c871210436a 100644 --- a/htdocs/compta/prelevement/facturesrejets.php +++ b/htdocs/compta/prelevement/facturesrejets.php @@ -131,7 +131,7 @@ if ($result) print ''.$obj->facnumber."\n"; - print ''.stripslashes($obj->nom)."\n"; + print ''.stripslashes($obj->nom)."\n"; print ''.price($obj->total_ttc)."\n"; diff --git a/htdocs/compta/prelevement/rejets.php b/htdocs/compta/prelevement/rejets.php index 3b79241a22b..83cf15b85f1 100644 --- a/htdocs/compta/prelevement/rejets.php +++ b/htdocs/compta/prelevement/rejets.php @@ -101,7 +101,7 @@ if ($result) print substr('000000'.$obj->rowid, -6).""; - print ''.stripslashes($obj->nom)."\n"; + print ''.stripslashes($obj->nom)."\n"; print ''.$rej->motifs[$obj->motif].''; print "\n"; diff --git a/htdocs/product/stats/commande.php b/htdocs/product/stats/commande.php index 29b6b6b5180..eea105289d1 100644 --- a/htdocs/product/stats/commande.php +++ b/htdocs/product/stats/commande.php @@ -164,7 +164,7 @@ if ($_GET["id"] || $_GET["ref"]) print ''.img_object($langs->trans("ShowOrder"),"order").' '; print $objp->ref; print "\n"; - print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; + print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; print "".$objp->code_client."\n"; print ""; print dol_print_date($db->jdate($objp->date_commande)).""; diff --git a/htdocs/product/stats/commande_fournisseur.php b/htdocs/product/stats/commande_fournisseur.php index 384b3ee0c8f..5d9f256e3da 100644 --- a/htdocs/product/stats/commande_fournisseur.php +++ b/htdocs/product/stats/commande_fournisseur.php @@ -158,7 +158,7 @@ if ($_GET["id"] || $_GET["ref"]) print ''.img_object($langs->trans("ShowOrder"),"order").' '; print $objp->ref; print "\n"; - print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; + print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; print "".$objp->code_client."\n"; print ""; print dol_print_date($db->jdate($objp->date_commande)).""; diff --git a/htdocs/product/stats/contrat.php b/htdocs/product/stats/contrat.php index 04087e907b0..0641e2c3b9a 100644 --- a/htdocs/product/stats/contrat.php +++ b/htdocs/product/stats/contrat.php @@ -172,7 +172,7 @@ if ($_GET["id"] || $_GET["ref"]) print ''.img_object($langs->trans("ShowContract"),"contract").' '; print $objp->rowid; print "\n"; - print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; + print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; print "".$objp->code_client."\n"; print ""; print dol_print_date($db->jdate($objp->date_contrat)).""; diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php index e11bd1a4189..2d939958fc6 100644 --- a/htdocs/product/stats/facture.php +++ b/htdocs/product/stats/facture.php @@ -167,7 +167,7 @@ if ($_GET["id"] || $_GET["ref"]) $invoicestatic->ref=$objp->facnumber; print $invoicestatic->getNomUrl(1); print "\n"; - print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; + print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; print "".$objp->code_client."\n"; print ""; print dol_print_date($db->jdate($objp->datef),'day').""; diff --git a/htdocs/product/stats/facture_fournisseur.php b/htdocs/product/stats/facture_fournisseur.php index b345002e3aa..a0dd7b1b677 100644 --- a/htdocs/product/stats/facture_fournisseur.php +++ b/htdocs/product/stats/facture_fournisseur.php @@ -167,7 +167,7 @@ if ($_GET["id"] || $_GET["ref"]) $supplierinvoicestatic->ref=$objp->facnumber; print $supplierinvoicestatic->getNomUrl(1); print "\n"; - print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; + print ''.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,44).''; print "".$objp->code_client."\n"; print ""; print dol_print_date($db->jdate($objp->datef))."";