Trad: Traduction module prelevement

This commit is contained in:
Laurent Destailleur 2005-09-10 14:41:53 +00:00
parent 1f5474a859
commit 5f245b7f81
5 changed files with 21 additions and 12 deletions

View File

@ -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");
// Sécurité accés client // Sécurité accés client
if ($user->societe_id > 0) 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"]; $page = $_GET["page"];
$sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"]; $sortorder = (empty($_GET["sortorder"])) ? "DESC" : $_GET["sortorder"];
@ -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 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"\n<!-- debut table -->\n";
print '<table class="liste" width="100%">'; print '<table class="liste" width="100%">';

View File

@ -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 prélèvement'); 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)
$urladd = "&amp;socid=".$_GET["socid"]; $urladd = "&amp;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"\n<!-- debut table -->\n";
print '<table class="liste" width="100%">'; print '<table class="liste" width="100%">';

View File

@ -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);
} }

View File

@ -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
WithdrawedBills=Withdrawed invoices
WithdrawalsLines=Withdrawals lines

View File

@ -9,3 +9,5 @@ WithdrawalsReceipts=Bons de pr
WithdrawalReceipt=Bon de prélèvement WithdrawalReceipt=Bon de prélèvement
WithdrawalReceiptShort=Bon WithdrawalReceiptShort=Bon
LastWithdrawalReceipts=Les %s derniers bons de traitement LastWithdrawalReceipts=Les %s derniers bons de traitement
WithdrawedBills=Factures prélevées
WithdrawalsLines=Lignes de prélèvements