Trad: Traduction du module compta par défaut
This commit is contained in:
parent
e472fc79ed
commit
10c798c105
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,54 +18,67 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/**
|
||||||
\file htdocs/compta/export/index.php
|
\file htdocs/compta/export/index.php
|
||||||
\ingroup compta
|
\ingroup compta
|
||||||
\brief Page accueil zone export compta
|
\brief Page export ventilations
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
require_once("./ComptaJournalPaiement.class.php");
|
||||||
|
require_once("./ComptaJournalVente.class.php");
|
||||||
|
|
||||||
require("./ComptaJournalPaiement.class.php");
|
/*
|
||||||
require("./ComptaJournalVente.class.php");
|
* Actions
|
||||||
|
*/
|
||||||
|
|
||||||
if ($_GET["action"] == 'export')
|
if ($_GET["action"] == 'export')
|
||||||
{
|
{
|
||||||
include_once DOL_DOCUMENT_ROOT.'/compta/export/modules/compta.export.class.php';
|
$modulename='Poivre';
|
||||||
|
|
||||||
$exc = new ComptaExport($db, $user, 'Poivre');
|
include_once DOL_DOCUMENT_ROOT.'/compta/export/modules/compta.export.class.php';
|
||||||
|
|
||||||
if($_GET["id"] > 0)
|
$exc = new ComptaExport($db, $user, $modulename);
|
||||||
{
|
|
||||||
$exc->Export($_GET["id"]);
|
if($_GET["id"] > 0)
|
||||||
}
|
{
|
||||||
else
|
$exc->Export($_GET["id"]);
|
||||||
{
|
}
|
||||||
$exc->Export();
|
else
|
||||||
}
|
{
|
||||||
|
$exc->Export();
|
||||||
print $exc->error_message;
|
}
|
||||||
|
|
||||||
/* Génération du journal des Paiements */
|
/* Génération du journal des Paiements */
|
||||||
|
|
||||||
$jp= new ComptaJournalPaiement($db);
|
$jp= new ComptaJournalPaiement($db);
|
||||||
$jp->GeneratePdf($user, $exc->id, $exc->ref);
|
$jp->GeneratePdf($user, $exc->id, $exc->ref);
|
||||||
|
|
||||||
/* Génération du journal des Ventes */
|
/* Génération du journal des Ventes */
|
||||||
|
|
||||||
$jp= new ComptaJournalVente($db);
|
$jp= new ComptaJournalVente($db);
|
||||||
$jp->GeneratePdf($user, $exc->id, $exc->ref);
|
$jp->GeneratePdf($user, $exc->id, $exc->ref);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Affichage page
|
||||||
|
*/
|
||||||
|
|
||||||
llxHeader('','Compta - Export');
|
llxHeader('','Compta - Export');
|
||||||
|
|
||||||
print_titre("Export Comptable");
|
print_titre("Export Comptable");
|
||||||
|
|
||||||
print '<table border="0" width="100%" cellspacing="4">';
|
if ($exc->error_message);
|
||||||
|
{
|
||||||
|
print $exc->error_message;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
print '<table class="notopnoleftnoright" width="100%">';
|
||||||
print '<tr><td valign="top" width="30%">';
|
print '<tr><td valign="top" width="30%">';
|
||||||
|
|
||||||
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."facturedet";
|
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."facturedet";
|
||||||
|
|||||||
@ -55,7 +55,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/compta/export/",$langs->trans("Export"));
|
$menu->add(DOL_URL_ROOT."/compta/export/",$langs->trans("Export"));
|
||||||
|
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/export/index.php?action=export","Nouvel Export");
|
$menu->add_submenu(DOL_URL_ROOT."/compta/export/index.php?action=export",$langs->trans("New"));
|
||||||
|
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/export/liste.php",$langs->trans("List"));
|
$menu->add_submenu(DOL_URL_ROOT."/compta/export/liste.php",$langs->trans("List"));
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,7 +18,6 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \file htdocs/compta/param/pre.inc.php
|
/** \file htdocs/compta/param/pre.inc.php
|
||||||
@ -41,9 +40,9 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/compta/param/",$langs->trans("Param"));
|
$menu->add(DOL_URL_ROOT."/compta/param/",$langs->trans("Param"));
|
||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/compta/param/comptes/","Comptes généraux");
|
$menu->add(DOL_URL_ROOT."/compta/param/comptes/",$langs->trans("AccountsGeneral"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/liste.php","Liste");
|
$menu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/liste.php",$langs->trans("List"));
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/fiche.php?action=create","Nouveau");
|
$menu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/fiche.php?action=create",$langs->trans("New"));
|
||||||
|
|
||||||
left_menu($menu->liste, $help_url);
|
left_menu($menu->liste, $help_url);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,7 +18,6 @@
|
|||||||
*
|
*
|
||||||
* $Id$
|
* $Id$
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -39,7 +38,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
|||||||
|
|
||||||
$menu->add(DOL_URL_ROOT."/compta/param/",$langs->trans("Param"));
|
$menu->add(DOL_URL_ROOT."/compta/param/",$langs->trans("Param"));
|
||||||
|
|
||||||
$menu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/liste.php","Comptes généraux");
|
$menu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/liste.php",$langs->trans("AccountsGeneral"));
|
||||||
|
|
||||||
left_menu($menu->liste, $help_url);
|
left_menu($menu->liste, $help_url);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -299,6 +299,7 @@ class MenuLeft {
|
|||||||
$newmenu->add_submenu(DOL_URL_ROOT."/contact/index.php?leftmenu=customers&type=c", $langs->trans("Contacts"),1,$user->rights->societe->lire);
|
$newmenu->add_submenu(DOL_URL_ROOT."/contact/index.php?leftmenu=customers&type=c", $langs->trans("Contacts"),1,$user->rights->societe->lire);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Factures
|
||||||
if ($conf->facture->enabled)
|
if ($conf->facture->enabled)
|
||||||
{
|
{
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
@ -372,8 +373,12 @@ class MenuLeft {
|
|||||||
{
|
{
|
||||||
$newmenu->add(DOL_URL_ROOT."/compta/ventilation/index.php?leftmenu=ventil",$langs->trans("Ventilation"),0,$user->rights->compta->ventilation->lire);
|
$newmenu->add(DOL_URL_ROOT."/compta/ventilation/index.php?leftmenu=ventil",$langs->trans("Ventilation"),0,$user->rights->compta->ventilation->lire);
|
||||||
if ($leftmenu=="ventil") $newmenu->add(DOL_URL_ROOT."/compta/ventilation/liste.php",$langs->trans("A ventiler"),1,$user->rights->compta->ventilation->lire);
|
if ($leftmenu=="ventil") $newmenu->add(DOL_URL_ROOT."/compta/ventilation/liste.php",$langs->trans("A ventiler"),1,$user->rights->compta->ventilation->lire);
|
||||||
if ($leftmenu=="ventil") $newmenu->add(DOL_URL_ROOT."/compta/ventilation/lignes.php",$langs->trans("Ventilées"),1,$user->rights->compta->ventilation->lire);
|
if ($leftmenu=="ventil") $newmenu->add_submenu(DOL_URL_ROOT."/compta/ventilation/lignes.php",$langs->trans("Ventilées"),1,$user->rights->compta->ventilation->lire);
|
||||||
if ($leftmenu=="ventil") $newmenu->add(DOL_URL_ROOT."/compta/param/",$langs->trans("Setup"),1,$user->rights->compta->ventilation->parametrer);
|
if ($leftmenu=="ventil") $newmenu->add_submenu(DOL_URL_ROOT."/compta/param/",$langs->trans("Setup"),1,$user->rights->compta->ventilation->parametrer);
|
||||||
|
if ($leftmenu=="ventil") $newmenu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/liste.php",$langs->trans("List"),2,$user->rights->compta->ventilation->parametrer);
|
||||||
|
if ($leftmenu=="ventil") $newmenu->add_submenu(DOL_URL_ROOT."/compta/param/comptes/fiche.php?action=create",$langs->trans("New"),2,$user->rights->compta->ventilation->parametrer);
|
||||||
|
if ($leftmenu=="ventil") $newmenu->add(DOL_URL_ROOT."/compta/export/",$langs->trans("Export"),1,$user->rights->compta->ventilation->lire);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compta expert
|
// Compta expert
|
||||||
|
|||||||
@ -253,7 +253,7 @@ class MenuLeft {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Menu COMPTA
|
* Menu Financial
|
||||||
*/
|
*/
|
||||||
if ($mainmenu == 'accountancy')
|
if ($mainmenu == 'accountancy')
|
||||||
{
|
{
|
||||||
@ -309,6 +309,7 @@ class MenuLeft {
|
|||||||
$newmenu->add_submenu(DOL_URL_ROOT."/contact/index.php?leftmenu=customers&type=c", $langs->trans("Contacts"),1,$user->rights->societe->lire);
|
$newmenu->add_submenu(DOL_URL_ROOT."/contact/index.php?leftmenu=customers&type=c", $langs->trans("Contacts"),1,$user->rights->societe->lire);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Factures
|
||||||
if ($conf->facture->enabled)
|
if ($conf->facture->enabled)
|
||||||
{
|
{
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
|
|||||||
@ -178,8 +178,9 @@ class MenuTop {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compta
|
// Financial
|
||||||
if ($conf->compta->enabled || $conf->comptaexpert->enabled || $conf->banque->enabled || $conf->caisse->enabled)
|
if ($conf->compta->enabled || $conf->comptaexpert->enabled || $conf->banque->enabled || $conf->caisse->enabled
|
||||||
|
|| $conf->commande->enabled || $conf->facture->enabled)
|
||||||
{
|
{
|
||||||
$langs->load("compta");
|
$langs->load("compta");
|
||||||
|
|
||||||
@ -193,7 +194,7 @@ class MenuTop {
|
|||||||
$class = 'class="tmenu"';
|
$class = 'class="tmenu"';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<td class="tmenu"><a '.$class.' href="'.DOL_URL_ROOT.'/compta/index.php?mainmenu=accountancy&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Accountancy")."/".$langs->trans("Treasury").'</a></td>';
|
print '<td class="tmenu"><a '.$class.' href="'.DOL_URL_ROOT.'/compta/index.php?mainmenu=accountancy&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("MenuFinancial").'</a></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Projets
|
// Projets
|
||||||
|
|||||||
@ -176,8 +176,9 @@ class MenuTop {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compta
|
// Financial
|
||||||
if ($conf->compta->enabled || $conf->comptaexpert->enabled || $conf->banque->enabled || $conf->caisse->enabled)
|
if ($conf->compta->enabled || $conf->comptaexpert->enabled || $conf->banque->enabled || $conf->caisse->enabled
|
||||||
|
|| $conf->commande->enabled || $conf->facture->enabled)
|
||||||
{
|
{
|
||||||
$langs->load("compta");
|
$langs->load("compta");
|
||||||
|
|
||||||
@ -191,7 +192,7 @@ class MenuTop {
|
|||||||
$class = 'class="tmenu"';
|
$class = 'class="tmenu"';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<td class="tmenu"><a '.$class.' href="'.DOL_URL_ROOT.'/compta/index.php?mainmenu=accountancy&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Accountancy")."/".$langs->trans("Treasury").'</a></td>';
|
print '<td class="tmenu"><a '.$class.' href="'.DOL_URL_ROOT.'/compta/index.php?mainmenu=accountancy&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("MenuFinancial").'</a></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Projets
|
// Projets
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
Accountancy=Accountancy
|
Accountancy=Accountancy
|
||||||
AccountancyCard=Accountancy card
|
AccountancyCard=Accountancy card
|
||||||
Treasury=Treasury
|
Treasury=Treasury
|
||||||
|
MenuFinancial=Financial
|
||||||
OptionMode=Option for accountancy
|
OptionMode=Option for accountancy
|
||||||
OptionModeTrue=Option Recettes-Dépenses
|
OptionModeTrue=Option Recettes-Dépenses
|
||||||
OptionModeVirtual=Option Créances-Dettes
|
OptionModeVirtual=Option Créances-Dettes
|
||||||
@ -9,6 +10,9 @@ OptionModeTrueDesc=Dans ce mode, le CA est calcul
|
|||||||
OptionModeVirtualDesc=Dans ce mode, le CA est calculé sur la base des factures validées. Qu'elles soient ou non payés, dès lors qu'elles sont dues, elles apparaissent dans le résultat.
|
OptionModeVirtualDesc=Dans ce mode, le CA est calculé sur la base des factures validées. Qu'elles soient ou non payés, dès lors qu'elles sont dues, elles apparaissent dans le résultat.
|
||||||
FeatureIsSupportedInInOutModeOnly=Feature only available in IN-OUT accountancy mode (See Accountancy module configuration)
|
FeatureIsSupportedInInOutModeOnly=Feature only available in IN-OUT accountancy mode (See Accountancy module configuration)
|
||||||
Param=Setup
|
Param=Setup
|
||||||
|
AccountsGeneral=Accounts
|
||||||
|
Account=Account
|
||||||
|
Accounts=Accounts
|
||||||
BillsForSuppliers=Bills for suppliers
|
BillsForSuppliers=Bills for suppliers
|
||||||
Income=Income
|
Income=Income
|
||||||
Outcome=Outcome
|
Outcome=Outcome
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
Accountancy=Compta
|
Accountancy=Compta
|
||||||
AccountancyCard=Fiche Compta
|
AccountancyCard=Fiche Compta
|
||||||
Treasury=Tréso
|
Treasury=Tréso
|
||||||
|
MenuFinancial=Compta/Tréso
|
||||||
OptionMode=Option de tenue de comptabilité
|
OptionMode=Option de tenue de comptabilité
|
||||||
OptionModeTrue=Option Recettes-Dépenses
|
OptionModeTrue=Option Recettes-Dépenses
|
||||||
OptionModeVirtual=Option Créances-Dettes
|
OptionModeVirtual=Option Créances-Dettes
|
||||||
@ -9,6 +10,9 @@ OptionModeTrueDesc=Dans ce mode, le CA est calcul
|
|||||||
OptionModeVirtualDesc=Dans ce mode, le CA est calculé sur la base des factures validées. Payées ou non, elles apparaissent dans le résultat dès qu'elles sont dues.
|
OptionModeVirtualDesc=Dans ce mode, le CA est calculé sur la base des factures validées. Payées ou non, elles apparaissent dans le résultat dès qu'elles sont dues.
|
||||||
FeatureIsSupportedInInOutModeOnly=Fonction disponible uniquement en mode compta RECETTE-DEPENSE (Voir configuration du module compta)
|
FeatureIsSupportedInInOutModeOnly=Fonction disponible uniquement en mode compta RECETTE-DEPENSE (Voir configuration du module compta)
|
||||||
Param=Paramétrage
|
Param=Paramétrage
|
||||||
|
AccountsGeneral=Comptes généraux
|
||||||
|
Account=Compte
|
||||||
|
Accounts=Comptes
|
||||||
BillsForSuppliers=Factures des fournisseurs
|
BillsForSuppliers=Factures des fournisseurs
|
||||||
Income=Recettes
|
Income=Recettes
|
||||||
Outcome=Dépenses
|
Outcome=Dépenses
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user