Skip to content
Snippets Groups Projects
Commit 5f245b7f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Trad: Traduction module prelevement

parent 1f5474a8
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ require("./pre.inc.php"); ...@@ -32,6 +32,7 @@ require("./pre.inc.php");
if (!$user->rights->prelevement->bons->lire) if (!$user->rights->prelevement->bons->lire)
accessforbidden(); accessforbidden();
$langs->load("withdrawals");
// Scurit accs client // Scurit accs client
if ($user->societe_id > 0) if ($user->societe_id > 0)
...@@ -47,7 +48,7 @@ if ($user->societe_id > 0) ...@@ -47,7 +48,7 @@ if ($user->societe_id > 0)
* *
*/ */
llxHeader('','Lignes de Prlvements'); llxHeader('',$langs->trans("WithdrawalsLines"));
$page = $_GET["page"]; $page = $_GET["page"];
$sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"]; $sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"];
...@@ -96,7 +97,7 @@ if ($result) ...@@ -96,7 +97,7 @@ if ($result)
$urladd = "&statut=".$_GET["statut"]; $urladd = "&statut=".$_GET["statut"];
$urladd .= "&search_bon=".$_GET["search_bon"]; $urladd .= "&search_bon=".$_GET["search_bon"];
print_barre_liste("Lignes de prlvements", $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"\n<!-- debut table -->\n";
print '<table class="liste" width="100%">'; print '<table class="liste" width="100%">';
......
...@@ -35,7 +35,7 @@ require_once(DOL_DOCUMENT_ROOT."/paiement.class.php"); ...@@ -35,7 +35,7 @@ require_once(DOL_DOCUMENT_ROOT."/paiement.class.php");
if ($user->societe_id > 0) accessforbidden(); if ($user->societe_id > 0) accessforbidden();
llxHeader('','Bon de prlvement'); llxHeader('',$langs->trans("WithdrawedBills"));
$page = $_GET["page"]; $page = $_GET["page"];
$sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"]; $sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"];
...@@ -87,7 +87,7 @@ if ($result) ...@@ -87,7 +87,7 @@ if ($result)
$urladd = "&amp;socid=".$_GET["socid"]; $urladd = "&amp;socid=".$_GET["socid"];
print_barre_liste("Factures prleves", $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"\n<!-- debut table -->\n";
print '<table class="liste" width="100%">'; print '<table class="liste" width="100%">';
......
...@@ -368,18 +368,21 @@ class MenuLeft { ...@@ -368,18 +368,21 @@ class MenuLeft {
{ {
$langs->load("withdrawals"); $langs->load("withdrawals");
$langs->load("banks"); $langs->load("banks");
$newmenu->add(DOL_URL_ROOT."/compta/prelevement/index.php?leftmenu=withdraw",$langs->trans("StandingOrders"),0,$user->rights->prelevement->bons->lire); $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/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/bons.php",$langs->trans("WithdrawalsReceipts"),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/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/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/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); if ($leftmenu=="withdraw") $newmenu->add_submenu(DOL_URL_ROOT."/compta/prelevement/config.php",$langs->trans("Setup"),1,$user->rights->prelevement->bons->configurer);
} }
......
...@@ -2,9 +2,12 @@ ...@@ -2,9 +2,12 @@
StandingOrdersArea=Standing orders area StandingOrdersArea=Standing orders area
StandingOrders=Standing orders StandingOrders=Standing orders
StandingOrder=Standing orders StandingOrder=Standing orders
NewStandingOrder=New standing order
Withdrawals=Withdrawals Withdrawals=Withdrawals
Withdrawal=Withdrawal Withdrawal=Withdrawal
WithdrawalsReceipts=Withdrawals receipts WithdrawalsReceipts=Withdrawals receipts
WithdrawalReceipt=Withdrawal receipt WithdrawalReceipt=Withdrawal receipt
WithdrawalReceiptShort=Receipt WithdrawalReceiptShort=Receipt
LastWithdrawalReceipts=Last %s withdrawal receipts LastWithdrawalReceipts=Last %s withdrawal receipts
\ No newline at end of file WithdrawedBills=Withdrawed invoices
WithdrawalsLines=Withdrawals lines
...@@ -9,3 +9,5 @@ WithdrawalsReceipts=Bons de pr ...@@ -9,3 +9,5 @@ WithdrawalsReceipts=Bons de pr
WithdrawalReceipt=Bon de prlvement WithdrawalReceipt=Bon de prlvement
WithdrawalReceiptShort=Bon WithdrawalReceiptShort=Bon
LastWithdrawalReceipts=Les %s derniers bons de traitement LastWithdrawalReceipts=Les %s derniers bons de traitement
WithdrawedBills=Factures prleves
WithdrawalsLines=Lignes de prlvements
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment