Trad: Traduction du menu compta
This commit is contained in:
parent
18e0d9476d
commit
345c1f1663
@ -20,6 +20,13 @@
|
|||||||
* $Source$
|
* $Source$
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\file htdocs/compta/pre.inc.php
|
||||||
|
\ingroup compta
|
||||||
|
\brief Fichier gestionnaire du menu compta
|
||||||
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../main.inc.php");
|
||||||
|
|
||||||
function llxHeader($head = "", $title="", $help_url='')
|
function llxHeader($head = "", $title="", $help_url='')
|
||||||
@ -32,27 +39,31 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
// Les recettes
|
// Les recettes
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/compta/clients.php", "Clients");
|
$menu->add(DOL_URL_ROOT."/compta/clients.php", $langs->trans("Customers"));
|
||||||
|
|
||||||
if ($user->comm > 0 && $conf->commercial->enabled && $conf->propal->enabled)
|
if ($user->comm > 0 && $conf->commercial->enabled && $conf->propal->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/propal.php","Prop. commerciales");
|
$langs->load("propal");
|
||||||
|
$menu->add(DOL_URL_ROOT."/compta/propal.php",$langs->trans("Prop"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->contrat->enabled)
|
if ($conf->contrat->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/contrat/","Contrats");
|
$langs->load("contracts");
|
||||||
|
$menu->add(DOL_URL_ROOT."/contrat/",$langs->trans("Contracts"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->don->enabled)
|
if ($conf->don->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/dons/","Dons");
|
$langs->load("donations");
|
||||||
|
$menu->add(DOL_URL_ROOT."/compta/dons/",$langs->trans("Donations"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->facture->enabled)
|
if ($conf->facture->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/facture.php","Factures");
|
$langs->load("bills");
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/paiement/liste.php","Paiements");
|
$menu->add(DOL_URL_ROOT."/compta/facture.php",$langs->trans("Bills"));
|
||||||
|
$menu->add_submenu(DOL_URL_ROOT."/compta/paiement/liste.php",$langs->trans("Payments"));
|
||||||
if (! defined(FACTURE_DISABLE_RECUR) || ! FACTURE_DISABLE_RECUR) {
|
if (! defined(FACTURE_DISABLE_RECUR) || ! FACTURE_DISABLE_RECUR) {
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/facture/fiche-rec.php","Récurrentes");
|
$menu->add_submenu(DOL_URL_ROOT."/compta/facture/fiche-rec.php","Récurrentes");
|
||||||
}
|
}
|
||||||
@ -61,8 +72,11 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
|
|
||||||
// Les dépenses
|
// Les dépenses
|
||||||
|
if ($conf->fourn->enabled)
|
||||||
$menu->add(DOL_URL_ROOT."/fourn/index.php", "Fournisseurs");
|
{
|
||||||
|
$langs->load("suppliers");
|
||||||
|
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
||||||
|
}
|
||||||
|
|
||||||
if ($user->societe_id == 0)
|
if ($user->societe_id == 0)
|
||||||
{
|
{
|
||||||
@ -71,7 +85,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
if ($conf->compta->enabled && $conf->compta->tva && $user->societe_id == 0)
|
if ($conf->compta->enabled && $conf->compta->tva && $user->societe_id == 0)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/tva/index.php","TVA");
|
$menu->add(DOL_URL_ROOT."/compta/tva/index.php",$langs->trans("VAT"));
|
||||||
}
|
}
|
||||||
if ($conf->compta->enabled)
|
if ($conf->compta->enabled)
|
||||||
{
|
{
|
||||||
@ -82,7 +96,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
// Vision des recettes-dépenses
|
// Vision des recettes-dépenses
|
||||||
if ($conf->banque->enabled && $user->rights->banque->lire)
|
if ($conf->banque->enabled && $user->rights->banque->lire)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/bank/","Banque");
|
$menu->add(DOL_URL_ROOT."/compta/bank/",$langs->trans("Bank"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->caisse->enabled)
|
if ($conf->caisse->enabled)
|
||||||
@ -100,7 +114,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
if (! $user->compta)
|
if (! $user->compta)
|
||||||
{
|
{
|
||||||
$menu->clear();
|
$menu->clear();
|
||||||
$menu->add(DOL_URL_ROOT."/","Accueil");
|
$menu->add(DOL_URL_ROOT."/",$langs->trans("Home"));
|
||||||
}
|
}
|
||||||
|
|
||||||
left_menu($menu->liste, $help_url);
|
left_menu($menu->liste, $help_url);
|
||||||
|
|||||||
@ -29,6 +29,9 @@ require("./pre.inc.php");
|
|||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT."/includes/modules/modPrelevement.class.php";
|
require_once DOL_DOCUMENT_ROOT."/includes/modules/modPrelevement.class.php";
|
||||||
|
|
||||||
|
$user->getrights('banque');
|
||||||
|
|
||||||
|
|
||||||
$mod = new modPrelevement($db);
|
$mod = new modPrelevement($db);
|
||||||
$dir = $mod->data_directory;
|
$dir = $mod->data_directory;
|
||||||
|
|
||||||
@ -37,7 +40,7 @@ llxHeader();
|
|||||||
print_titre($langs->trans("Bons de prélèvements"));
|
print_titre($langs->trans("Bons de prélèvements"));
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<table class="noborder" cellpadding="3" cellspacing="0">';
|
print '<table class="noborder">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Name").'</td>';
|
print '<td>'.$langs->trans("Name").'</td>';
|
||||||
print '<td>'.$langs->trans("Date").'</td>';
|
print '<td>'.$langs->trans("Date").'</td>';
|
||||||
|
|||||||
@ -20,6 +20,13 @@
|
|||||||
* $Source$
|
* $Source$
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\file htdocs/compta/prelevement/pre.inc.php
|
||||||
|
\ingroup prelevement
|
||||||
|
\brief Fichier gestionnaire du menu prelevement
|
||||||
|
*/
|
||||||
|
|
||||||
require("../../main.inc.php");
|
require("../../main.inc.php");
|
||||||
|
|
||||||
function llxHeader($head = "", $title="", $help_url='')
|
function llxHeader($head = "", $title="", $help_url='')
|
||||||
@ -32,27 +39,31 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
// Les recettes
|
// Les recettes
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/compta/clients.php", "Clients");
|
$menu->add(DOL_URL_ROOT."/compta/clients.php", $langs->trans("Customers"));
|
||||||
|
|
||||||
if ($user->comm > 0 && $conf->commercial->enabled && $conf->propal->enabled)
|
if ($user->comm > 0 && $conf->commercial->enabled && $conf->propal->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/propal.php","Prop. commerciales");
|
$langs->load("propal");
|
||||||
|
$menu->add(DOL_URL_ROOT."/compta/propal.php",$langs->trans("Prop"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->contrat->enabled)
|
if ($conf->contrat->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/contrat/","Contrats");
|
$langs->load("contracts");
|
||||||
|
$menu->add(DOL_URL_ROOT."/contrat/",$langs->trans("Contracts"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->don->enabled)
|
if ($conf->don->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/dons/","Dons");
|
$langs->load("donations");
|
||||||
|
$menu->add(DOL_URL_ROOT."/compta/dons/",$langs->trans("Donations"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->facture->enabled)
|
if ($conf->facture->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/facture.php","Factures");
|
$langs->load("bills");
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/paiement/liste.php","Paiements");
|
$menu->add(DOL_URL_ROOT."/compta/facture.php",$langs->trans("Bills"));
|
||||||
|
$menu->add_submenu(DOL_URL_ROOT."/compta/paiement/liste.php",$langs->trans("Payments"));
|
||||||
if (! defined(FACTURE_DISABLE_RECUR) || ! FACTURE_DISABLE_RECUR) {
|
if (! defined(FACTURE_DISABLE_RECUR) || ! FACTURE_DISABLE_RECUR) {
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/facture/fiche-rec.php","Récurrentes");
|
$menu->add_submenu(DOL_URL_ROOT."/compta/facture/fiche-rec.php","Récurrentes");
|
||||||
}
|
}
|
||||||
@ -61,9 +72,12 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
|
|
||||||
// Les dépenses
|
// Les dépenses
|
||||||
|
if ($conf->fourn->enabled)
|
||||||
$menu->add(DOL_URL_ROOT."/fourn/index.php", "Fournisseurs");
|
{
|
||||||
|
$langs->load("suppliers");
|
||||||
|
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
||||||
|
}
|
||||||
|
|
||||||
if ($user->societe_id == 0)
|
if ($user->societe_id == 0)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/deplacement/", "Déplacement");
|
$menu->add(DOL_URL_ROOT."/compta/deplacement/", "Déplacement");
|
||||||
@ -71,8 +85,9 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
if ($conf->compta->enabled && $conf->compta->tva && $user->societe_id == 0)
|
if ($conf->compta->enabled && $conf->compta->tva && $user->societe_id == 0)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/tva/index.php","TVA");
|
$menu->add(DOL_URL_ROOT."/compta/tva/index.php",$langs->trans("VAT"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->compta->enabled)
|
if ($conf->compta->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/charges/index.php","Charges");
|
$menu->add(DOL_URL_ROOT."/compta/charges/index.php","Charges");
|
||||||
@ -82,7 +97,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
// Vision des recettes-dépenses
|
// Vision des recettes-dépenses
|
||||||
if ($conf->banque->enabled && $user->rights->banque->lire)
|
if ($conf->banque->enabled && $user->rights->banque->lire)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/bank/","Banque");
|
$menu->add(DOL_URL_ROOT."/compta/bank/",$langs->trans("Bank"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->caisse->enabled)
|
if ($conf->caisse->enabled)
|
||||||
@ -92,7 +107,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/compta/stats/","CA / Résultats");
|
$menu->add(DOL_URL_ROOT."/compta/stats/","CA / Résultats");
|
||||||
|
|
||||||
if (defined("MAIN_MODULE_PRELEVEMENT") && MAIN_MODULE_PRELEVEMENT)
|
if ($conf->prelevement->enabled)
|
||||||
{
|
{
|
||||||
$menu->add(DOL_URL_ROOT."/compta/prelevement/","Bon prélèv.");
|
$menu->add(DOL_URL_ROOT."/compta/prelevement/","Bon prélèv.");
|
||||||
}
|
}
|
||||||
@ -100,7 +115,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
if (! $user->compta)
|
if (! $user->compta)
|
||||||
{
|
{
|
||||||
$menu->clear();
|
$menu->clear();
|
||||||
$menu->add(DOL_URL_ROOT."/","Accueil");
|
$menu->add(DOL_URL_ROOT."/",$langs->trans("Home"));
|
||||||
}
|
}
|
||||||
|
|
||||||
left_menu($menu->liste, $help_url);
|
left_menu($menu->liste, $help_url);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user