diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php index 501e28c7dce..b8b1a6e9a80 100644 --- a/htdocs/compta/resultat/clientfourn.php +++ b/htdocs/compta/resultat/clientfourn.php @@ -90,7 +90,7 @@ if ($modecompta == 'CREANCES-DETTES') { } else { /* * Liste des paiements (les anciens paiements ne sont pas vus par cette requete car, sur les - * vieilles versions, ils n'�taient pas li�s via paiement_facture. On les ajoute plus loin) + * vieilles versions, ils n'etaient pas lies via paiement_facture. On les ajoute plus loin) */ $sql = "SELECT s.nom as nom, s.rowid as socid, sum(pf.amount) as amount_ttc"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."facture as f, ".MAIN_DB_PREFIX."paiement_facture as pf, ".MAIN_DB_PREFIX."paiement as p"; @@ -149,7 +149,7 @@ if ($modecompta != 'CREANCES-DETTES') $var=!$var; print " "; - print "".$langs->trans("Bills")." ".$langs->trans("Other")." (anciens paiements li�s � aucune facture)\n"; + print "".$langs->trans("Bills")." ".$langs->trans("Other")." (".$langs->trans("PaymentsNotLinkedToInvoice").")\n"; if ($modecompta == 'CREANCES-DETTES') print "".price($objp->amount_ht)."\n"; print "".price($objp->amount_ttc)."\n"; diff --git a/htdocs/compta/stats/cabyuser.php b/htdocs/compta/stats/cabyuser.php index 8967e20e3ca..f95d7f6b9b7 100644 --- a/htdocs/compta/stats/cabyuser.php +++ b/htdocs/compta/stats/cabyuser.php @@ -89,7 +89,7 @@ else { /* * Liste des paiements (les anciens paiements ne sont pas vus par cette requete car, sur les - * vieilles versions, ils n'�taient pas li�s via paiement_facture. On les ajoute plus loin) + * vieilles versions, ils n'etaient pas lies via paiement_facture. On les ajoute plus loin) */ $sql = "SELECT u.rowid as rowid, u.name as name, u.firstname as firstname, sum(pf.amount) as amount_ttc"; $sql.= " FROM ".MAIN_DB_PREFIX."user as u" ; @@ -194,7 +194,7 @@ if (sizeof($amount)) $linkname=''.img_object($langs->trans("ShowUser"),'user').' '.$fullname.''; } else { - $linkname=$langs->trans("PaymentsLinkedToNoUsers"); + $linkname=$langs->trans("PaymentsNotLinkedToUser"); } print "".$linkname."\n"; print ''.price($amount[$key]).''; diff --git a/htdocs/compta/stats/casoc.php b/htdocs/compta/stats/casoc.php index b018a159e12..fa61b4360b9 100644 --- a/htdocs/compta/stats/casoc.php +++ b/htdocs/compta/stats/casoc.php @@ -84,7 +84,7 @@ else { /* * Liste des paiements (les anciens paiements ne sont pas vus par cette requete car, sur les - * vieilles versions, ils n'étaient pas liés via paiement_facture. On les ajoute plus loin) + * vieilles versions, ils n'etaient pas lies via paiement_facture. On les ajoute plus loin) */ $sql = "SELECT s.rowid as socid, s.nom as name, sum(pf.amount) as amount_ttc"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."facture as f, ".MAIN_DB_PREFIX."paiement_facture as pf, ".MAIN_DB_PREFIX."paiement as p"; @@ -185,7 +185,7 @@ if (sizeof($amount)) $linkname=''.img_object($langs->trans("ShowCompany"),'company').' '.$fullname.''; } else { - $linkname=$langs->trans("Autres paiements liés à aucune facture, donc aucune société"); + $linkname=$langs->trans("PaymentsNotLinkedToInvoice"); } print "".$linkname."\n"; print ''.price($amount[$key]).''; diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index bf411afa569..bfe2292caf5 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -83,7 +83,7 @@ if ($modecompta == 'CREANCES-DETTES') { } else { /* * Liste des paiements (les anciens paiements ne sont pas vus par cette requete car, sur les - * vieilles versions, ils n'étaient pas liés via paiement_facture. On les ajoute plus loin) + * vieilles versions, ils n'etaient pas lies via paiement_facture. On les ajoute plus loin) */ $sql = "SELECT sum(pf.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm"; $sql .= " FROM ".MAIN_DB_PREFIX."facture as f, ".MAIN_DB_PREFIX."paiement_facture as pf, ".MAIN_DB_PREFIX."paiement as p"; diff --git a/htdocs/includes/menus/barre_left/eldy_backoffice.php b/htdocs/includes/menus/barre_left/eldy_backoffice.php index 2094ffd121e..be19fe9854d 100644 --- a/htdocs/includes/menus/barre_left/eldy_backoffice.php +++ b/htdocs/includes/menus/barre_left/eldy_backoffice.php @@ -564,7 +564,7 @@ class MenuLeft { // Bilan, résultats $newmenu->add(DOL_URL_ROOT."/compta/resultat/index.php?leftmenu=ca&mainmenu=accountancy",$langs->trans("Reportings"),0,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); - if ($leftmenu=="ca") $newmenu->add(DOL_URL_ROOT."/compta/resultat/index.php?leftmenu=ca","Résultat / Exercice",1,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); + if ($leftmenu=="ca") $newmenu->add(DOL_URL_ROOT."/compta/resultat/index.php?leftmenu=ca",$langs->trans("ReportInOut"),1,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); if ($leftmenu=="ca") $newmenu->add_submenu(DOL_URL_ROOT."/compta/resultat/clientfourn.php?leftmenu=ca",$langs->trans("ByCompanies"),2,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); /* On verra ca avec module compabilité expert if ($leftmenu=="ca") $newmenu->add_submenu(DOL_URL_ROOT."/compta/resultat/compteres.php?leftmenu=ca","Compte de résultat",2,$user->rights->compta->resultat->lire); diff --git a/htdocs/includes/menus/barre_left/eldy_frontoffice.php b/htdocs/includes/menus/barre_left/eldy_frontoffice.php index 2058f0231df..03d94b64763 100644 --- a/htdocs/includes/menus/barre_left/eldy_frontoffice.php +++ b/htdocs/includes/menus/barre_left/eldy_frontoffice.php @@ -550,7 +550,7 @@ class MenuLeft { // Bilan, résultats $newmenu->add(DOL_URL_ROOT."/compta/resultat/index.php?leftmenu=ca&mainmenu=accountancy",$langs->trans("Reportings"),0,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); - if ($leftmenu=="ca") $newmenu->add(DOL_URL_ROOT."/compta/resultat/index.php?leftmenu=ca","Résultat / Exercice",1,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); + if ($leftmenu=="ca") $newmenu->add(DOL_URL_ROOT."/compta/resultat/index.php?leftmenu=ca",$langs->trans("ReportInOut"),1,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); if ($leftmenu=="ca") $newmenu->add_submenu(DOL_URL_ROOT."/compta/resultat/clientfourn.php?leftmenu=ca",$langs->trans("ByCompanies"),2,$user->rights->compta->resultat->lire||$user->rights->comptaexpert->comptarapport->lire); diff --git a/htdocs/langs/en_US/compta.lang b/htdocs/langs/en_US/compta.lang index dc01c3271ac..98aa6321c69 100644 --- a/htdocs/langs/en_US/compta.lang +++ b/htdocs/langs/en_US/compta.lang @@ -16,6 +16,9 @@ Accounts=Accounts BillsForSuppliers=Bills for suppliers Income=Income Outcome=Outcome +ReportInOut=Income / Outcome +PaymentsNotLinkedToInvoice=Payments not linked to any invoice, so not linked to any third party +PaymentsNotLinkedToUser=Payments not linked to any user Profit=Profit Balance=Balance Debit=Debit diff --git a/htdocs/langs/fr_FR/compta.lang b/htdocs/langs/fr_FR/compta.lang index 163123e7c59..3277bcd53c8 100644 --- a/htdocs/langs/fr_FR/compta.lang +++ b/htdocs/langs/fr_FR/compta.lang @@ -16,6 +16,9 @@ Accounts=Comptes BillsForSuppliers=Factures des fournisseurs Income=Recettes Outcome=Dépenses +ReportInOut=Résultat / Exercice +PaymentsNotLinkedToInvoice=Paiements liés à aucune facture, donc aucun tiers +PaymentsNotLinkedToUser=Paiements non liés à un utilisateur Profit=Bénéfice Balance=Solde Debit=Débit