diff --git a/htdocs/compta/prelevement/liste.php b/htdocs/compta/prelevement/liste.php index 3973a5cca11c4516dc9d31c46745ac5542b9de84..5ff7fd83590113512294fbedfb56aee27694bd66 100644 --- a/htdocs/compta/prelevement/liste.php +++ b/htdocs/compta/prelevement/liste.php @@ -32,6 +32,7 @@ require("./pre.inc.php"); if (!$user->rights->prelevement->bons->lire) accessforbidden(); +$langs->load("withdrawals"); // S�curit� acc�s client if ($user->societe_id > 0) @@ -47,7 +48,7 @@ if ($user->societe_id > 0) * */ -llxHeader('','Lignes de Pr�l�vements'); +llxHeader('',$langs->trans("WithdrawalsLines")); $page = $_GET["page"]; $sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"]; @@ -96,7 +97,7 @@ if ($result) $urladd = "&statut=".$_GET["statut"]; $urladd .= "&search_bon=".$_GET["search_bon"]; - print_barre_liste("Lignes de pr�l�vements", $page, "liste.php", $urladd, $sortfield, $sortorder, '', $num); + print_barre_liste($langs->trans("WithdrawalsLines"), $page, "liste.php", $urladd, $sortfield, $sortorder, '', $num); print"\n<!-- debut table -->\n"; print '<table class="liste" width="100%">'; diff --git a/htdocs/compta/prelevement/liste_factures.php b/htdocs/compta/prelevement/liste_factures.php index f76edc7518d5069793f54cb6cf09082bd2fed5f7..2d4b11fcf50526a1e63b13b73b481cf10cf6c9cc 100644 --- a/htdocs/compta/prelevement/liste_factures.php +++ b/htdocs/compta/prelevement/liste_factures.php @@ -35,7 +35,7 @@ require_once(DOL_DOCUMENT_ROOT."/paiement.class.php"); if ($user->societe_id > 0) accessforbidden(); -llxHeader('','Bon de pr�l�vement'); +llxHeader('',$langs->trans("WithdrawedBills")); $page = $_GET["page"]; $sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"]; @@ -87,7 +87,7 @@ if ($result) $urladd = "&socid=".$_GET["socid"]; - print_barre_liste("Factures pr�lev�es", $page, "liste_factures.php", $urladd, $sortfield, $sortorder, '', $num); + print_barre_liste($langs->trans("WithdrawedBills"), $page, "liste_factures.php", $urladd, $sortfield, $sortorder, '', $num); print"\n<!-- debut table -->\n"; print '<table class="liste" width="100%">'; diff --git a/htdocs/includes/menus/barre_left/eldy.php b/htdocs/includes/menus/barre_left/eldy.php index 2ee5dec9d6c1fb8571d71dd9c7aef439b51903b5..809a30ad3558f256c0ef66b872c58c529bb80abf 100644 --- a/htdocs/includes/menus/barre_left/eldy.php +++ b/htdocs/includes/menus/barre_left/eldy.php @@ -368,18 +368,21 @@ class MenuLeft { { $langs->load("withdrawals"); $langs->load("banks"); + $newmenu->add(DOL_URL_ROOT."/compta/prelevement/index.php?leftmenu=withdraw",$langs->trans("StandingOrders"),0,$user->rights->prelevement->bons->lire); + + //if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php",$langs->trans("StandingOrder"),1,$user->rights->prelevement->bons->lire); + if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=0",$langs->trans("StandingOrderToProcess"),1,$user->rights->prelevement->bons->lire); + //if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=1",$langs->trans("StandingOrderProcessed"),2,$user->rights->prelevement->bons->lire); + if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/create.php",$langs->trans("NewStandingOrder"),1,$user->rights->prelevement->bons->creer); - if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/bons.php",$langs->trans("Receipts"),1,$user->rights->prelevement->bons->lire); - if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste.php",$langs->trans("List"),1,$user->rights->prelevement->bons->lire); - if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste_factures.php",$langs->trans("Bills"),1,$user->rights->prelevement->bons->lire); + + if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/bons.php",$langs->trans("WithdrawalsReceipts"),1,$user->rights->prelevement->bons->lire); + if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste.php",$langs->trans("WithdrawalsLines"),1,$user->rights->prelevement->bons->lire); + if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/liste_factures.php",$langs->trans("WithdrawedBills"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/rejets.php",$langs->trans("Rejects"),1,$user->rights->prelevement->bons->lire); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/stats.php",$langs->trans("Statistics"),1,$user->rights->prelevement->bons->lire); - if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php",$langs->trans("StandingOrder"),1,$user->rights->prelevement->bons->lire); - if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=0",$langs->trans("StandingOrderToProcess"),2,$user->rights->prelevement->bons->lire); - if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/demandes.php?status=1",$langs->trans("StandingOrderProcessed"),2,$user->rights->prelevement->bons->lire); - if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/config.php",$langs->trans("Setup"),1,$user->rights->prelevement->bons->configurer); } diff --git a/htdocs/langs/en_US/withdrawals.lang b/htdocs/langs/en_US/withdrawals.lang index 8a7c3bc4e49340881d8eca6b44f20f52080a94a5..a13de167c70db799b02ee18a292ae809701e96e7 100755 --- a/htdocs/langs/en_US/withdrawals.lang +++ b/htdocs/langs/en_US/withdrawals.lang @@ -2,9 +2,12 @@ StandingOrdersArea=Standing orders area StandingOrders=Standing orders StandingOrder=Standing orders +NewStandingOrder=New standing order Withdrawals=Withdrawals Withdrawal=Withdrawal WithdrawalsReceipts=Withdrawals receipts WithdrawalReceipt=Withdrawal receipt WithdrawalReceiptShort=Receipt -LastWithdrawalReceipts=Last %s withdrawal receipts \ No newline at end of file +LastWithdrawalReceipts=Last %s withdrawal receipts +WithdrawedBills=Withdrawed invoices +WithdrawalsLines=Withdrawals lines diff --git a/htdocs/langs/fr_FR/withdrawals.lang b/htdocs/langs/fr_FR/withdrawals.lang index 9ea2645e0d48acf15a9cf5e499370ad79b742139..4023b3ef28bb7b8f7cd62db5ff921fa27ccb66b0 100755 --- a/htdocs/langs/fr_FR/withdrawals.lang +++ b/htdocs/langs/fr_FR/withdrawals.lang @@ -9,3 +9,5 @@ WithdrawalsReceipts=Bons de pr WithdrawalReceipt=Bon de pr�l�vement WithdrawalReceiptShort=Bon LastWithdrawalReceipts=Les %s derniers bons de traitement +WithdrawedBills=Factures pr�lev�es +WithdrawalsLines=Lignes de pr�l�vements