Delete elements have a link with old module ventilation - Replace today by module Accounting Expert

This commit is contained in:
aspangaro 2014-09-19 05:55:54 +02:00
parent 2b602e7b5a
commit ab9226aab6
57 changed files with 5 additions and 1206 deletions

View File

@ -1,165 +0,0 @@
<?php
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005-2006 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/fiche.php
* \ingroup compta
* \brief Page fiche ventilation
*/
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
$langs->load("bills");
$mesg = '';
if (!$user->rights->compta->ventilation->creer) accessforbidden();
/*
* Actions
*/
if ($_POST["action"] == 'ventil' && $user->rights->compta->ventilation->creer)
{
$sql = " UPDATE ".MAIN_DB_PREFIX."facturedet";
$sql .= " SET fk_code_ventilation = ".$_POST["codeventil"];
$sql .= " WHERE rowid = ".$_GET["id"];
$db->query($sql);
}
llxHeader("","","Fiche ventilation");
if ($cancel == $langs->trans("Cancel"))
{
$action = '';
}
/*
*
*
*/
$sql = "SELECT rowid, numero, intitule";
$sql .= " FROM ".MAIN_DB_PREFIX."compta_compte_generaux";
$sql .= " ORDER BY numero ASC";
$result = $db->query($sql);
if ($result)
{
$num = $db->num_rows($result);
$i = 0;
while ($i < $num)
{
$row = $db->fetch_row($result);
$cgs[$row[0]] = $row[1] . ' ' . $row[2];
$i++;
}
}
/*
* Cr<EFBFBD>ation
*
*/
$form = new Form($db);
$facture_static=new Facture($db);
if($_GET["id"])
{
$sql = "SELECT f.facnumber, f.rowid as facid, l.fk_product, l.description, l.price,";
$sql .= " l.qty, l.rowid, l.tva_tx, l.remise_percent, l.subprice,";
$sql .= " l.date_start as date_start, l.date_end as date_end,";
$sql .= " l.fk_code_ventilation ";
$sql .= " FROM ".MAIN_DB_PREFIX."facturedet as l";
$sql .= " , ".MAIN_DB_PREFIX."facture as f";
$sql .= " WHERE f.rowid = l.fk_facture AND f.fk_statut = 1 AND l.rowid = ".$_GET["id"];
$result = $db->query($sql);
if ($result)
{
$num_lignes = $db->num_rows($result);
$i = 0;
if ($num_lignes)
{
$objp = $db->fetch_object($result);
if($objp->fk_code_ventilation == 0)
{
print '<form action="fiche.php?id='.$_GET["id"].'" method="post">'."\n";
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<input type="hidden" name="action" value="ventil">';
}
print_fiche_titre("Ventilation");
print '<table class="border" width="100%">';
// Ref facture
print '<tr><td>'.$langs->trans("Invoice").'</td>';
$facture_static->ref=$objp->facnumber;
$facture_static->id=$objp->facid;
print '<td>'.$facture_static->getNomUrl(1).'</td>';
print '</tr>';
print '<tr><td width="20%">Ligne</td>';
print '<td>'.nl2br($objp->description).'</td></tr>';
print '<tr><td width="20%">Ventiler dans le compte :</td><td>';
if($objp->fk_code_ventilation == 0)
{
print $form->selectarray("codeventil",$cgs, $objp->fk_code_ventilation);
}
else
{
print $cgs[$objp->fk_code_ventilation];
}
print '</td></tr>';
if($objp->fk_code_ventilation == 0)
{
print '<tr><td>&nbsp;</td><td><input type="submit" class="button" value="'.$langs->trans("Ventiler").'"></td></tr>';
}
print '</table>';
print '</form>';
}
else
{
print "Error";
}
}
else
{
print "Error";
}
}
else
{
print "Error ID incorrect";
}
$db->close();
llxFooter();

View File

@ -1,149 +0,0 @@
<?php
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Simon TOSSER <simon@kornog-computing.com>
*
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/fournisseur/fiche.php
* \ingroup compta
* \brief Page fiche ventilation
*/
require '../../../main.inc.php';
$mesg = '';
if (!$user->rights->compta->ventilation->creer) accessforbidden();
if ($_POST["action"] == 'ventil' && $user->rights->compta->ventilation->creer)
{
$sql = " UPDATE ".MAIN_DB_PREFIX."facture_fourn_det";
$sql .= " SET fk_code_ventilation = ".$_POST["codeventil"];
$sql .= " WHERE rowid = ".$_GET["id"];
$db->query($sql);
}
llxHeader("","","Fiche ventilation");
if ($cancel == $langs->trans("Cancel"))
{
$action = '';
}
/*
*
*
*/
$sql = "SELECT rowid, numero, intitule";
$sql .= " FROM ".MAIN_DB_PREFIX."compta_compte_generaux";
$sql .= " ORDER BY numero ASC";
$result = $db->query($sql);
if ($result)
{
$num = $db->num_rows($result);
$i = 0;
while ($i < $num)
{
$row = $db->fetch_row($result);
$cgs[$row[0]] = $row[1] . ' ' . $row[2];
$i++;
}
}
/*
* Creation
*
*/
$form = new Form($db);
if($_GET["id"])
{
$sql = "SELECT f.facnumber, f.rowid as facid, l.fk_product, l.description, l.total_ttc, l.qty, l.rowid, l.tva_tx, l.fk_code_ventilation ";
$sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn_det as l";
$sql .= " , ".MAIN_DB_PREFIX."facture_fourn as f";
$sql .= " WHERE f.rowid = l.fk_facture_fourn AND f.fk_statut = 1 AND l.rowid = ".$_GET["id"];
$result = $db->query($sql);
if ($result)
{
$num_lignes = $db->num_rows($result);
$i = 0;
if ($num_lignes)
{
$objp = $db->fetch_object($result);
if($objp->fk_code_ventilation == 0)
{
print '<form action="fiche.php?id='.$_GET["id"].'" method="post">'."\n";
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<input type="hidden" name="action" value="ventil">';
}
print_titre("Ventilation");
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
print '<tr><td>Facture</td>';
print '<td><a href="'.DOL_URL_ROOT.'/compta/facture.php?facid='.$objp->facid.'">'.$objp->facnumber.'</a></td></tr>';
print '<tr><td width="20%">Ligne</td>';
print '<td>'.stripslashes(nl2br($objp->description)).'</td></tr>';
print '<tr><td width="20%">Ventiler dans le compte :</td><td>';
if($objp->fk_code_ventilation == 0)
{
print $form->selectarray("codeventil",$cgs, $objp->fk_code_ventilation);
}
else
{
print $cgs[$objp->fk_code_ventilation];
}
print '</td></tr>';
if($objp->fk_code_ventilation == 0)
{
print '<tr><td>&nbsp;</td><td><input type="submit" value="'.$langs->trans("Ventiler").'"></td></tr>';
}
print '</table>';
print '</form>';
}
else
{
print "Error";
}
}
else
{
print "Error";
}
}
else
{
print "Error ID incorrect";
}
$db->close();
llxFooter();

View File

@ -1,127 +0,0 @@
<?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005 Simon TOSSER <simon@kornog-computing.com>
*
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/fournisseur/index.php
* \ingroup compta
* \brief Page accueil ventilation
*/
require '../../../main.inc.php';
$langs->load("suppliers");
llxHeader('','Compta - Ventilation');
print_titre("Ventilation Comptable");
print '<table border="0" width="100%">';
print '<tr><td valign="top" width="30%">';
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."facturedet";
$sql .= " WHERE fk_code_ventilation = 0";
$result = $db->query($sql);
if ($result)
{
$row = $db->fetch_row($result);
$nbfac = $row[0];
$db->free($result);
}
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."paiement";
$sql .= " WHERE fk_code_ventilation = 0";
$result = $db->query($sql);
if ($result)
{
$row = $db->fetch_row($result);
$nbp = $row[0];
$db->free($result);
}
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."facture_fourn_det";
$sql .= " WHERE fk_code_ventilation = 0";
$result = $db->query($sql);
if ($result)
{
$row = $db->fetch_row($result);
$nbfacfourn = $row[0];
$db->free($result);
}
/*$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."paiementfourn";
$sql .= " WHERE fk_code_ventilation = 0";
$result = $db->query($sql);
if ($result)
{
$row = $db->fetch_row($result);
$nbpfourn = $row[0];
$db->free($result);
}*/
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Lignes a ventiler</tr>';
print '<tr class="liste_titre"><td>Type</td><td align="center">Nb</td></tr>';
print '<tr><td>Factures clients</td><td align="center">'.$nbfac.'</td></tr>';
print '<tr><td>Paiements clients</td><td align="center">'.$nbp.'</td></tr>';
print '<tr><td>Factures fournisseurs</td><td align="center">'.$nbfacfourn.'</td></tr>';
//print '<tr><td>Paiements fournisseurs</td><td align="center">'.$nbpfourn.'</td></tr>';
print "</table>\n";
print '</td><td valign="top">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td>Type</td><td align="center">Nb de lignes</td></tr>';
$sql = "SELECT count(*), ccg.intitule FROM ".MAIN_DB_PREFIX."facturedet as fd";
$sql .= " ,".MAIN_DB_PREFIX."compta_compte_generaux as ccg";
$sql .= " WHERE fd.fk_code_ventilation = ccg.rowid";
$sql .= " GROUP BY ccg.rowid";
$resql = $db->query($sql);
if ($resql)
{
$i = 0;
$num = $db->num_rows($resql);
while ($i < $num)
{
$row = $db->fetch_row($resql);
print '<tr><td>'.$row[1].'</td><td align="center">'.$row[0].'</td></tr>';
$i++;
}
$db->free($resql);
}
print "</table>\n";
print '</td></tr></table>';
llxFooter();

View File

@ -1,114 +0,0 @@
<?php
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2005 Simon TOSSER <simon@kornog-computing.com>
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/fournisseur/lignes.php
* \ingroup facture
* \brief Page de detail des lignes de ventilation d'une facture
*/
require '../../../main.inc.php';
$langs->load("bills");
if (!$user->rights->facture->lire) accessforbidden();
if (!$user->rights->compta->ventilation->creer) accessforbidden();
/*
* Securite acces client
*/
if ($user->societe_id > 0) accessforbidden();
llxHeader('');
/*
* Lignes de factures
*
*/
$page = $_GET["page"];
if ($page < 0) $page = 0;
$limit = $conf->liste_limit;
$offset = $limit * $page ;
$sql = "SELECT f.facnumber, f.rowid as facid, l.fk_product, l.description, l.total_ttc as price, l.qty, l.rowid, l.tva_tx, l.fk_code_ventilation, c.intitule, c.numero ";
$sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn_det as l";
$sql .= " , ".MAIN_DB_PREFIX."facture_fourn as f";
$sql .= " , ".MAIN_DB_PREFIX."compta_compte_generaux as c";
$sql .= " WHERE f.rowid = l.fk_facture_fourn AND f.fk_statut = 1 AND l.fk_code_ventilation <> 0 ";
$sql .= " AND c.rowid = l.fk_code_ventilation";
if (dol_strlen(trim($_GET["search_facture"])))
{
$sql .= " AND f.facnumber like '%".$_GET["search_facture"]."%'";
}
$sql .= " ORDER BY l.rowid DESC";
$sql .= $db->plimit($limit+1,$offset);
$result = $db->query($sql);
if ($result)
{
$num_lignes = $db->num_rows($result);
$i = 0;
print_barre_liste("Lignes de facture ventilées",$page,"lignes.php","",$sortfield,$sortorder,'',$num_lignes);
print '<form method="GET" action="lignes.php">';
print '<table class="noborder" width="100%">';
print "<tr class=\"liste_titre\"><td>Facture</td>";
print '<td>'.$langs->trans("Description").'</td>';
print '<td align="right">'.$langs->trans("Montant").'</td>';
print '<td colspan="2" align="center">'.$langs->trans("Compte").'</td>';
print "</tr>\n";
print '<tr class="liste_titre"><td><input name="search_facture" size="8" value="'.$_GET["search_facture"].'"></td>';
print '<td><input type="submit"></td>';
print '<td align="right">&nbsp;</td>';
print '<td align="center">&nbsp;</td>';
print '<td align="center">&nbsp;</td>';
print "</tr>\n";
$var=True;
while ($i < min($num_lignes, $limit))
{
$objp = $db->fetch_object($result);
$var=!$var;
print "<tr ".$bc[$var].">";
print '<td><a href="'.DOL_URL_ROOT.'/compta/facture.php?facid='.$objp->facid.'">'.$objp->facnumber.'</a></td>';
print '<td>'.stripslashes(nl2br($objp->description)).'</td>';
print '<td align="right">'.price($objp->price).'</td>';
print '<td align="right">'.$objp->numero.'</td>';
print '<td align="left">'.stripslashes($objp->intitule).'</td>';
print "</tr>";
$i++;
}
}
else
{
print $db->error();
}
print "</table></form>";
$db->close();
llxFooter();

View File

@ -1,105 +0,0 @@
<?php
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/liste.php
* \ingroup compta
* \brief Page de ventilation des lignes de facture
*/
require '../../../main.inc.php';
$langs->load("bills");
if (!$user->rights->facture->lire) accessforbidden();
if (!$user->rights->compta->ventilation->creer) accessforbidden();
/*
* Securite acces client
*/
if ($user->societe_id > 0) accessforbidden();
llxHeader('','Ventilation');
/*
* Lignes de factures
*
*/
$page = $_GET["page"];
if ($page < 0) $page = 0;
$limit = $conf->liste_limit;
$offset = $limit * $page ;
$sql = "SELECT f.facnumber, f.rowid as facid, l.fk_product, l.description, l.total_ttc as price, l.rowid, l.fk_code_ventilation ";
$sql .= " FROM ".MAIN_DB_PREFIX."facture_fourn_det as l";
$sql .= " , ".MAIN_DB_PREFIX."facture_fourn as f";
$sql .= " WHERE f.rowid = l.fk_facture_fourn AND f.fk_statut = 1 AND fk_code_ventilation = 0";
$sql .= " ORDER BY l.rowid DESC ".$db->plimit($limit+1,$offset);
$result = $db->query($sql);
if ($result)
{
$num_lignes = $db->num_rows($result);
$i = 0;
print_barre_liste("Lignes de facture à ventiler",$page,"liste.php","",$sortfield,$sortorder,'',$num_lignes);
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td>Facture</td>';
print '<td>'.$langs->trans("Description").'</td>';
print '<td align="right">&nbsp;</td>';
print '<td>&nbsp;</td>';
print "</tr>\n";
$var=True;
while ($i < min($num_lignes, $limit))
{
$objp = $db->fetch_object($result);
$var=!$var;
print "<tr ".$bc[$var].">";
print '<td><a href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?facid='.$objp->facid.'">'.$objp->facnumber.'</a></td>';
print '<td>'.stripslashes(nl2br($objp->description)).'</td>';
print '<td align="right">';
print price($objp->price);
print '</td>';
print '<td align="right"><a href="fiche.php?id='.$objp->rowid.'">';
print img_edit();
print '</a></td>';
print "</tr>";
$i++;
}
print "</table>";
}
else
{
print $db->error();
}
$db->close();
llxFooter();

View File

@ -1,102 +0,0 @@
<?php
/* Copyright (C) 2001-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/index.php
* \ingroup compta
* \brief Page accueil ventilation
*/
require '../../main.inc.php';
$langs->load("compta");
$langs->load("bills");
llxHeader('','Compta - Ventilation');
print_fiche_titre("Ventilation Comptable");
//print '<table border="0" width="100%" class="notopnoleftnoright">';
//print '<tr><td valign="top" width="30%" class="notopnoleft">';
print '<div class="fichecenter"><div class="fichethirdleft">';
$sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."facturedet as fd";
$sql.= " , ".MAIN_DB_PREFIX."facture as f";
$sql.= " WHERE fd.fk_code_ventilation = 0";
$sql.= " AND f.rowid = fd.fk_facture AND f.fk_statut = 1";
$result = $db->query($sql);
if ($result)
{
$row = $db->fetch_row($result);
$nbfac = $row[0];
$db->free($result);
}
$var=true;
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Lines").'</tr>';
print '<tr class="liste_titre"><td>'.$langs->trans("Type").'</td><td align="right">'.$langs->trans("Nb").'</td></tr>';
$var=!$var;
print "<tr ".$bc[$var].">".'<td>'.$langs->trans("Invoices").'</td><td align="right">'.$nbfac.'</td></tr>';
$var=!$var;
print "</table>\n";
//print '</td><td valign="top" width="70%" class="notopnoleftnoright">';
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td>'.$langs->trans("Type").'</td><td align="center">'.$langs->trans("NbOfLines").'</td><td align="center">'.$langs->trans("AccountNumber").'</td><td align="center">'.$langs->trans("TransID").'</td></tr>';
$sql = "SELECT count(*), ccg.intitule, ccg.rowid,ccg.numero FROM ".MAIN_DB_PREFIX."facturedet as fd";
$sql.= " ,".MAIN_DB_PREFIX."compta_compte_generaux as ccg";
$sql.= " WHERE fd.fk_code_ventilation = ccg.rowid";
$sql.= " GROUP BY ccg.rowid";
$resql = $db->query($sql);
if ($resql)
{
$i = 0;
$num = $db->num_rows($resql);
$var=true;
while ($i < $num)
{
$row = $db->fetch_row($resql);
$var=!$var;
print '<tr '.$bc[$var].'><td>'.$row[1].'</td><td align="center">'.$row[0].'</td>';
print '<td align="center">'.$row[3].'</td><td align="center">'.$row[2].'</td></tr>';
$i++;
}
$db->free($resql);
}
print "</table>\n";
//print '</td></tr></table>';
print '</div></div></div>';
llxFooter();
$db->close();

View File

@ -1,141 +0,0 @@
<?php
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/lignes.php
* \ingroup facture
* \brief Page de detail des lignes de ventilation d'une facture
*/
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
$langs->load("bills");
$langs->load("compta");
if (!$user->rights->facture->lire) accessforbidden();
if (!$user->rights->compta->ventilation->creer) accessforbidden();
// Securite acces client
if ($user->societe_id > 0) accessforbidden();
llxHeader('');
/*
* Lignes de factures
*
*/
$page = $_GET["page"];
if ($page < 0) $page = 0;
$limit = $conf->liste_limit;
$offset = $limit * $page ;
$sql = "SELECT f.facnumber, f.rowid as facid, l.fk_product, l.description, f.total_ttc as price, l.qty, l.rowid, l.tva_tx, l.fk_code_ventilation, c.intitule, c.numero,";
$sql.= " p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as type";
$sql.= " FROM ".MAIN_DB_PREFIX."facture as f";
$sql.= " , ".MAIN_DB_PREFIX."compta_compte_generaux as c";
$sql.= " , ".MAIN_DB_PREFIX."facturedet as l";
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product";
$sql.= " WHERE f.rowid = l.fk_facture AND f.fk_statut = 1 AND l.fk_code_ventilation <> 0 ";
$sql.= " AND f.entity = ".$conf->entity;
$sql.= " AND c.rowid = l.fk_code_ventilation";
if (dol_strlen(trim($_GET["search_facture"])))
{
$sql .= " AND f.facnumber LIKE '%".$_GET["search_facture"]."%'";
}
$sql .= " ORDER BY l.rowid DESC";
$sql .= $db->plimit($limit+1,$offset);
$result = $db->query($sql);
if ($result)
{
$num_lignes = $db->num_rows($result);
$i = 0;
print_barre_liste($langs->trans("InvoiceDispatched"),$page,"lignes.php","",$sortfield,$sortorder,'',$num_lignes);
print '<form method="GET" action="lignes.php">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td>'.$langs->trans("Invoice").'</td>';
print '<td>'.$langs->trans("Ref").'</td>';
print '<td>'.$langs->trans("Label").'</td>';
print '<td>'.$langs->trans("Description").'</td>';
print '<td align="left">'.$langs->trans("Montant").'</td>';
print '<td colspan="2" align="left">'.$langs->trans("Compte").'</td>';
print "</tr>\n";
print '<tr class="liste_titre"><td><input name="search_facture" size="8" value="'.$_GET["search_facture"].'"></td>';
print '<td>&nbsp;</td>';
print '<td align="right">&nbsp;</td>';
print '<td align="right">&nbsp;</td>';
print '<td align="center">&nbsp;</td>';
print '<td align="right">';
print '<input type="image" class="liste_titre" name="button_search" src="'.img_picto($langs->trans("Search"),'search.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("Search")).'" title="'.dol_escape_htmltag($langs->trans("Search")).'">';
print '</td>';
print "</tr>\n";
$facture_static=new Facture($db);
$product_static=new Product($db);
$var=True;
while ($i < min($num_lignes, $limit))
{
$objp = $db->fetch_object($result);
$var=!$var;
$codeCompta = $objp->numero.' '.$objp->intitule;
print "<tr ".$bc[$var].">";
// Ref facture
$facture_static->ref=$objp->facnumber;
$facture_static->id=$objp->facid;
print '<td>'.$facture_static->getNomUrl(1).'</td>';
// Ref produit
$product_static->ref=$objp->product_ref;
$product_static->id=$objp->product_id;
$product_static->type=$objp->type;
print '<td>';
if ($product_static->id) print $product_static->getNomUrl(1);
else print '&nbsp;';
print '</td>';
print '<td>'.dol_trunc($objp->product_label,24).'</td>';
print '<td>'.nl2br(dol_trunc($objp->description,32)).'</td>';
print '<td align="left">'.price($objp->price).'</td>';
print '<td align="left">'.$codeCompta.'</td>';
print "</tr>";
$i++;
}
}
else
{
print $db->error();
}
print "</table></form>";
llxFooter();
$db->close();

View File

@ -1,129 +0,0 @@
<?php
/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
*
* 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
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* \file htdocs/compta/ventilation/liste.php
* \ingroup compta
* \brief Page de ventilation des lignes de facture
*/
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
$langs->load("compta");
$langs->load("bills");
if (!$user->rights->facture->lire) accessforbidden();
if (!$user->rights->compta->ventilation->creer) accessforbidden();
// Securite acces client
if ($user->societe_id > 0) accessforbidden();
llxHeader('','Ventilation');
/*
* Lignes de factures
*/
$sortfield = GETPOST("sortfield",'alpha');
$sortorder = GETPOST("sortorder",'alpha');
$page = GETPOST("page",'int');
if ($page == -1) { $page = 0; }
$offset = $conf->liste_limit * $page;
$pageprev = $page - 1;
$pagenext = $page + 1;
$limit = $conf->liste_limit;
$sql = "SELECT f.facnumber, f.rowid as facid, l.fk_product, l.description, f.total as price, l.rowid, l.fk_code_ventilation,";
$sql.= " p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as type";
$sql.= " FROM ".MAIN_DB_PREFIX."facture as f";
$sql.= " , ".MAIN_DB_PREFIX."facturedet as l";
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."product as p ON p.rowid = l.fk_product";
$sql.= " WHERE f.rowid = l.fk_facture AND f.fk_statut = 1 AND fk_code_ventilation = 0";
$sql.= " AND f.entity = ".$conf->entity;
$sql.= " ORDER BY l.rowid DESC ".$db->plimit($limit+1,$offset);
$result = $db->query($sql);
if ($result)
{
$num_lignes = $db->num_rows($result);
$i = 0;
print_barre_liste($langs->trans("InvoiceLinesToDispatch"),$page,"liste.php","",$sortfield,$sortorder,'',$num_lignes);
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td>'.$langs->trans("Invoice").'</td>';
print '<td>'.$langs->trans("Ref").'</td>';
print '<td>'.$langs->trans("Label").'</td>';
print '<td>'.$langs->trans("Description").'</td>';
print '<td align="right">'.$langs->trans("Montant").'</td>';
print '<td>&nbsp;</td>';
print "</tr>\n";
$facture_static=new Facture($db);
$product_static=new Product($db);
$var=True;
while ($i < min($num_lignes, $limit))
{
$objp = $db->fetch_object($result);
$var=!$var;
print "<tr ".$bc[$var].">";
// Ref facture
$facture_static->ref=$objp->facnumber;
$facture_static->id=$objp->facid;
print '<td>'.$facture_static->getNomUrl(1).'</td>';
// Ref produit
$product_static->ref=$objp->product_ref;
$product_static->id=$objp->product_id;
$product_static->type=$objp->type;
print '<td>';
if ($product_static->id) print $product_static->getNomUrl(1);
else print '&nbsp;';
print '</td>';
print '<td>'.dol_trunc($objp->product_label,24).'</td>';
print '<td>'.nl2br(dol_trunc($objp->description,32)).'</td>';
print '<td align="right">';
print price($objp->price);
print '</td>';
print '<td align="right"><a href="fiche.php?id='.$objp->rowid.'">';
print img_edit();
print '</a></td>';
print "</tr>";
$i++;
}
print "</table>";
}
else
{
print $db->error();
}
llxFooter();
$db->close();

View File

@ -1636,14 +1636,14 @@ function dol_check_secure_access_document($modulepart,$original_file,$entity,$fu
else $original_file=$conf->facture->dir_output.'/payments/'.$original_file;
}
// Wrapping pour les exports de compta
// Wrapping for accounting exports
else if ($modulepart == 'export_compta')
{
if ($fuser->rights->compta->ventilation->creer || preg_match('/^specimen/i',$original_file))
if ($fuser->rights->accounting->ventilation->dispatch || preg_match('/^specimen/i',$original_file))
{
$accessallowed=1;
}
$original_file=$conf->compta->dir_output.'/'.$original_file;
$original_file=$conf->accounting->dir_output.'/'.$original_file;
}
// Wrapping pour les expedition

View File

@ -188,16 +188,6 @@ insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, left
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->tax->enabled && empty($conf->global->TAX_DISABLE_VAT_MENUS) && $leftmenu=="tax_vat"', __HANDLER__, 'left', 2302__+MAX_llx_menu__, 'accountancy', '', 2300__+MAX_llx_menu__, '/compta/tva/reglement.php?leftmenu=tax_vat', 'Payments', 2, 'companies', '$user->rights->tax->charges->lire', '', 0, 1, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->tax->enabled && empty($conf->global->TAX_DISABLE_VAT_MENUS) && $leftmenu=="tax_vat"', __HANDLER__, 'left', 2303__+MAX_llx_menu__, 'accountancy', '', 2300__+MAX_llx_menu__, '/compta/tva/clients.php?leftmenu=tax_vat', 'ReportByCustomers', 2, 'companies', '$user->rights->tax->charges->lire', '', 0, 2, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->tax->enabled && empty($conf->global->TAX_DISABLE_VAT_MENUS) && $leftmenu=="tax_vat"', __HANDLER__, 'left', 2304__+MAX_llx_menu__, 'accountancy', '', 2300__+MAX_llx_menu__, '/compta/tva/quadri_detail.php?leftmenu=tax_vat', 'ReportByQuarter', 2, 'companies', '$user->rights->tax->charges->lire', '', 0, 3, __ENTITY__);
-- Ventilation (accounting)
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2400__+MAX_llx_menu__, 'accountancy', 'ventil', 6__+MAX_llx_menu__, '/compta/ventilation/index.php?leftmenu=ventil', 'Ventilation', 0, 'companies', '$user->rights->compta->ventilation->lire', '', 0, 8, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2401__+MAX_llx_menu__, 'accountancy', '', 2400__+MAX_llx_menu__, '/compta/ventilation/liste.php', 'ToDispatch', 1, 'companies', '$user->rights->compta->ventilation->lire', '', 0, 0, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2402__+MAX_llx_menu__, 'accountancy', '', 2400__+MAX_llx_menu__, '/compta/ventilation/lignes.php', 'Dispatched', 1, 'companies', '$user->rights->compta->ventilation->lire', '', 0, 1, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2403__+MAX_llx_menu__, 'accountancy', '', 2400__+MAX_llx_menu__, '/compta/param/', 'Setup', 1, 'companies', '$user->rights->compta->ventilation->parametrer', '', 0, 2, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2404__+MAX_llx_menu__, 'accountancy', '', 2403__+MAX_llx_menu__, '/compta/param/comptes/liste.php', 'List', 2, 'companies', '$user->rights->compta->ventilation->parametrer', '', 0, 0, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2405__+MAX_llx_menu__, 'accountancy', '', 2403__+MAX_llx_menu__, '/compta/param/comptes/fiche.php?action=create', 'New', 2, 'companies', '$user->rights->compta->ventilation->parametrer', '', 0, 1, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2406__+MAX_llx_menu__, 'accountancy', '', 2400__+MAX_llx_menu__, '/compta/export/', 'Export', 1, 'companies', '$user->rights->compta->ventilation->lire', '', 0, 3, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2407__+MAX_llx_menu__, 'accountancy', '', 2406__+MAX_llx_menu__, '/compta/export/index.php', 'New', 2, 'companies', '$user->rights->compta->ventilation->lire', '', 0, 0, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled && $conf->global->FACTURE_VENTILATION', __HANDLER__, 'left', 2408__+MAX_llx_menu__, 'accountancy', '', 2406__+MAX_llx_menu__, '/compta/export/liste.php', 'List', 2, 'companies', '$user->rights->compta->ventilation->lire', '', 0, 1, __ENTITY__);
-- Rapports
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled || $conf->accounting->enabled', __HANDLER__, 'left', 2700__+MAX_llx_menu__, 'accountancy', 'ca', 6__+MAX_llx_menu__, '/compta/resultat/index.php?leftmenu=ca&amp;mainmenu=accountancy', 'Reportings', 0, 'main', '$user->rights->compta->resultat->lire || $user->rights->accounting->comptarapport->lire', '', 0, 11, __ENTITY__);
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->comptabilite->enabled || $conf->accounting->enabled', __HANDLER__, 'left', 2701__+MAX_llx_menu__, 'accountancy', '', 2700__+MAX_llx_menu__, '/compta/resultat/index.php?leftmenu=ca', 'ReportInOut', 1, 'main', '$user->rights->compta->resultat->lire || $user->rights->accounting->comptarapport->lire', '', 0, 0, __ENTITY__);

View File

@ -863,13 +863,13 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
$langs->load("accountancy");
$newmenu->add("/accountancy/customer/index.php?leftmenu=ventil_customer",$langs->trans("CustomersVentilation"),0,$user->rights->accounting->ventilation->read, '', $mainmenu, 'ventil_customer');
if (empty($leftmenu) || $leftmenu=="ventil_customer") $newmenu->add("/accountancy/customer/list.php",$langs->trans("ToDispatch"),1,$user->rights->accounting->ventilation->read);
if (empty($leftmenu) || $leftmenu=="ventil_customer") $newmenu->add("/accountancy/customer/list.php",$langs->trans("ToDispatch"),1,$user->rights->accounting->ventilation->dispatch);
if (empty($leftmenu) || $leftmenu=="ventil_customer") $newmenu->add("/accountancy/customer/lines.php",$langs->trans("Dispatched"),1,$user->rights->accounting->ventilation->read);
if (! empty($conf->fournisseur->enabled))
{
$newmenu->add("/accountancy/supplier/index.php?leftmenu=ventil_supplier",$langs->trans("SuppliersVentilation"),0,$user->rights->accounting->ventilation->read, '', $mainmenu, 'ventil_supplier');
if (empty($leftmenu) || $leftmenu=="ventil_supplier") $newmenu->add("/accountancy/supplier/list.php",$langs->trans("ToDispatch"),1,$user->rights->accounting->ventilation->read);
if (empty($leftmenu) || $leftmenu=="ventil_supplier") $newmenu->add("/accountancy/supplier/list.php",$langs->trans("ToDispatch"),1,$user->rights->accounting->ventilation->dispatch);
if (empty($leftmenu) || $leftmenu=="ventil_supplier") $newmenu->add("/accountancy/supplier/lines.php",$langs->trans("Dispatched"),1,$user->rights->accounting->ventilation->read);
}
}

View File

@ -93,30 +93,6 @@ class modComptabilite extends DolibarrModules
$this->rights[$r][3] = 1;
$this->rights[$r][4] = 'resultat';
$this->rights[$r][5] = 'lire';
$r++;
$this->rights[$r][0] = 96;
$this->rights[$r][1] = 'Parametrer la ventilation';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'ventilation';
$this->rights[$r][5] = 'parametrer';
$r++;
$this->rights[$r][0] = 97;
$this->rights[$r][1] = 'Lire les ventilations de factures';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 1;
$this->rights[$r][4] = 'ventilation';
$this->rights[$r][5] = 'lire';
$r++;
$this->rights[$r][0] = 98;
$this->rights[$r][1] = 'Ventiler les lignes de factures';
$this->rights[$r][2] = 'r';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'ventilation';
$this->rights[$r][5] = 'creer';
}

View File

@ -582,9 +582,6 @@ Permission92=إنشاء / تعديل المساهمات الاجتماعية و
Permission93=حذف المساهمات الاجتماعية وضريبة القيمة المضافة
Permission94=تصدير المساهمات الاجتماعية
Permission95=قراءة تقارير
Permission96=ارسال الإعداد
Permission97=قراءة ارسال الفواتير والمحاسبة
Permission98=ارسال الفاتورة 'sخطوط المحاسبة
Permission101=قراءة الإرسال
Permission102=إنشاء / تعديل الإرسال
Permission104=صحة الإرسال

View File

@ -582,9 +582,6 @@ Permission92=Създаване / промяна на социалните вн
Permission93=Изтриване на социалноосигурителните вноски и ДДС
Permission94=Експортиране на социалноосигурителните вноски
Permission95=Прочети доклада
Permission96=Настройка на експедиция
Permission97=Фактура за счетоводството експедиция
Permission98=Изпращането фактура линии счетоводни
Permission101=Прочети sendings
Permission102=Създаване / промяна sendings
Permission104=Проверка на sendings

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Otpremanje postavki
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Crear/modificar impostos i IVA
Permission93=Eliminar impostos i IVA
Permission94=Exporta impostos
Permission95=Consultar balanços i resultats
Permission96=Parametritzar desglossament
Permission97=Llegir línies de factures
Permission98=Desglossar línies de factures
Permission101=Consultar expedicions
Permission102=Crear/modificar expedicions
Permission104=Validar expedicions

View File

@ -582,9 +582,6 @@ Permission92=Vytvořit / upravit příspěvky na sociální zabezpečení a dan
Permission93=Odstranění sociální příspěvky a daně z přidané hodnoty
Permission94=Export příspěvky na sociální zabezpečení
Permission95=Přečtěte si zprávy
Permission96=Nastavení zasílání
Permission97=Přečtěte si faktury účetnictví dispečink
Permission98=Po odeslání faktury účetní linky
Permission101=Přečtěte si sendings
Permission102=Vytvořit / upravit sendings
Permission104=Ověřit sendings

View File

@ -582,9 +582,6 @@ Permission92=Opret / ændre sociale bidrag og moms
Permission93=Slet sociale bidrag og moms
Permission94=Eksporter sociale bidrag
Permission95=Læs rapporter
Permission96=Setup lastfordelingen
Permission97=Læs faktura regnskabspool lastfordelingen
Permission98=Ekspeditionscentre faktura's regnskabslinjer
Permission101=Læs sendings
Permission102=Opret / ændre sendings
Permission104=Valider sendings

View File

@ -582,9 +582,6 @@ Permission92=Steuern/Sozialbeiträge erstellen/bearbeiten
Permission93=Steuern/Sozialbeiträge löschen
Permission94=Sozialbeiträge exportieren
Permission95=Berichte einsehen
Permission96=Verbuchung einstellen
Permission97=Rechnungszuweisung einsehen
Permission98=Zuweisung der Rechnungszeilen
Permission101=Sendungen einsehen
Permission102=Sendungen erstellen/bearbeiten
Permission104=Sendungen freigeben

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -584,9 +584,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Crear/modificar impuestos e IVA
Permission93=Eliminar impuestos e IVA
Permission94=Exportar impuestos
Permission95=Consultar balances y resultados
Permission96=Parametrizar desglose
Permission97=Leer líneas de facturas
Permission98=Desglosar líneas de facturas
Permission101=Consultar expediciones
Permission102=Crear/modificar expediciones
Permission104=Validar expediciones

View File

@ -582,9 +582,6 @@ Permission92=Sotsiaal- ja käibemaksu loomine/muutmine
Permission93=Sotsiaal- ja käibemaksu kustutamine
Permission94=Sotsiaalmaksu eksport
Permission95=Aruannete vaatamine
Permission96=Saatmise seadistamine
Permission97=Arvete raamatupidamisse saatmise vaatamine
Permission98=Arvete raamatupidamisse saatmise read
Permission101=Saatmiste vaatamine
Permission102=Saatmiste loomine/muutmine
Permission104=Saatmiste kinnitamine

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=ایجاد / تغییر مشارکتهای اجتماعی و مال
Permission93=حذف کمک های اجتماعی و مالیات بر ارزش افزوده
Permission94=کمک های اجتماعی صادرات
Permission95=دفعات بازدید: گزارش
Permission96=راه اندازی اعزام
Permission97=خوانده شده فاکتور اعزام حسابداری
Permission98=خطوط حسابداری فاکتور اعزام
Permission101=خوانده شده sendings
Permission102=ایجاد / تغییر sendings
Permission104=اعتبارسنجی sendings

View File

@ -582,9 +582,6 @@ Permission92=Luoda / muuttaa sosiaaliturvamaksut ja alv
Permission93=Poista sosiaaliturvamaksut ja alv
Permission94=Vienti sosiaaliturvamaksut
Permission95=Lue raportit
Permission96=Setup lähetyskeskukset
Permission97=Lue laskun kirjanpitotietojen lähetyskeskukset
Permission98=Lähetysvaihetta laskun n kirjanpitotapahtumaa
Permission101=Lue sendings
Permission102=Luoda / muuttaa sendings
Permission104=Validate sendings

View File

@ -584,9 +584,6 @@ Permission92=Créer/modifier les charges et la TVA
Permission93=Supprimer les charges et la TVA
Permission94=Exporter les charges
Permission95=Consulter CA, bilans et résultats
Permission96=Paramétrer la ventilation
Permission97=Lire les lignes de factures
Permission98=Ventiler les lignes de factures
Permission101=Consulter les expéditions
Permission102=Créer/modifier les expéditions
Permission104=Valider les expéditions

View File

@ -164,9 +164,6 @@ NotUsedForGoods=Non utilisé pour les biens
ProposalStats=Statistiques sur les propales
OrderStats=Statistiques sur les commandes
InvoiceStats=Statistiques sur les factures
Dispatch=Ventilation
Dispatched=Ventilés
ToDispatch=A ventiler
ThirdPartyMustBeEditAsCustomer=Le tiers doit être défini comme client
SellsJournal=Journal des ventes
PurchasesJournal=Journal des achats

View File

@ -582,9 +582,6 @@ Permission92=צור / לשנות לביטוח הלאומי ומס ערך מוס
Permission93=מחק לביטוח הלאומי ומס ערך מוסף
Permission94=ייצוא הפרשות סוציאליות
Permission95=לקרוא דוחות
Permission96=הגדרת שיגור
Permission97=קרא את חשבון חשבונית שיגור
Permission98=שדר הקווים חשבונאות של חשבוניות
Permission101=לקרוא sendings
Permission102=צור / לשנות sendings
Permission104=אמת sendings

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Létrehozza / módosítja a társadalombiztosítási járulékok é
Permission93=Törlés társadalombiztosítási járulékok és az áfa
Permission94=Export társadalombiztosítási járulékok
Permission95=Olvassa jelentések
Permission96=Setup szállítási
Permission97=Olvassa el szállítási nyilvántartási számla
Permission98=A számla elküldése számviteli vonalak
Permission101=Olvassa küldések
Permission102=Létrehozza / módosítja küldések
Permission104=Érvényesítés küldések

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Búa til / breyta félagslegum framlögum og VSK
Permission93=Eyða félagsleg framlög og VSK
Permission94=Útflutningur tryggingagjöld
Permission95=Lesa skýrslur
Permission96=Skipulag dispatching
Permission97=Lesa Reikningar bókhalds dispatching
Permission98=bókhalds línur Sending Reikningar's
Permission101=Lesa sendings
Permission102=Búa til / breyta sendings
Permission104=Staðfesta sendings

View File

@ -582,9 +582,6 @@ Permission92=Creare/modificare contributi e iva
Permission93=Eliminare contributi e iva
Permission94=Esportare contributi
Permission95=Vedere report
Permission96=Impostazioni della contabilità
Permission97=Vedere la contabilità delle fatture
Permission98=Contabilità linee delle fatture
Permission101=Vedere invii
Permission102=Creare/modificare spedizioni
Permission104=Convalidare spedizioni

View File

@ -582,9 +582,6 @@ Permission92=社会貢献とバットを作成/変更
Permission93=社会貢献とバットを削除します。
Permission94=社会貢献をエクスポートします。
Permission95=レポートを読む
Permission96=派遣セットアップ
Permission97=派遣請求書会計を読む
Permission98=請求書の会計の行を派遣
Permission101=sendingsを読む
Permission102=sendingsを作成/変更
Permission104=sendingsを検証する

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Sukurti/keisti socialines įmokas ir PVM
Permission93=Ištrinti socialines įmokas ir PVM
Permission94=Eksportuoti socialinės įmokas
Permission95=Skaityti ataskaitas
Permission96=Atlikimo/įvykdymo nustatymai
Permission97=Skaityti sąskaitų apskaitos atlikimą
Permission98=Atlikti sąskaitos apskaitos eilutes
Permission101=Skaityti siuntinius
Permission102=Sukurti/keisti siuntinius
Permission104=Patvirtinti siuntinius

View File

@ -582,9 +582,6 @@ Permission92=Izveidot/labot sociālās iemaksas un PVN
Permission93=Dzēst sociālās iemaksas un PVN
Permission94=Eksportēt sociālās iemaksas
Permission95=Lasīt atskaites
Permission96=Nosūtīšanas iestatīšana
Permission97=Lasīt rēķina grāmatvedību nosūtīšana
Permission98=Nosūtīšanas rēķinu grāmatvedības līnijas
Permission101=Lasīt sūtījumus
Permission102=Izveidot/mainīt sūtījumus
Permission104=Apstiprināt sūtījumus

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Lage/endre avgifter og MVA
Permission93=Slette avgifter og MVA
Permission94=Eksporter sosiale bidrag
Permission95=Vise rapporter
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice's accountancy lines
Permission101=Vise forsendelser
Permission102=Lage/endre forsendelser
Permission104=Godjenne forsendelser

View File

@ -582,9 +582,6 @@ Permission92=Creëer / wijzig sociale bijdragen en BTW
Permission93=Verwijder sociale bijdragen en BTW
Permission94=Exporteer sociale bijdragen
Permission95=Bekijk de verslagen
Permission96=Verzendingsinstellingen
Permission97=Bekijk factuur boekhouding verzending
Permission98=Verzending van de factuur boekhoudkundige regel
Permission101=Bekijk verzendingen
Permission102=Creëer / wijzig verzendingen
Permission104=Valideer verzendingen

View File

@ -582,9 +582,6 @@ Permission92=Tworzenie / modyfikacji składek na ubezpieczenia społeczne i poda
Permission93=Usuń składek na ubezpieczenia społeczne i podatku VAT
Permission94=Eksport składek na ubezpieczenia społeczne
Permission95=Przeczytaj raporty
Permission96=Konfiguracja wysyłek
Permission97=Czytaj faktury rachunkowych wysyłkowe
Permission98=Wysłanie faktury w księgowości linie
Permission101=Czytaj sendings
Permission102=Utwórz / Modyfikuj sendings
Permission104=Validate sendings

View File

@ -575,9 +575,6 @@ Permission92=Criar/Modificar Impostos e ICMS
Permission93=Eliminar Impostos e ICMS
Permission94=Exportar Impostos Sociais
Permission95=Consultar balanços e resultados
Permission96=Parametrizar repartição
Permission97=Ler linhas de faturas
Permission98=Repartir linhas de faturas
Permission101=Consultar Expedições
Permission102=Criar/Modificar Expedições
Permission104=Confirmar Expedições

View File

@ -582,9 +582,6 @@ Permission92=Criar/Modificar Impostos e IVA
Permission93=Eliminar Impostos e IVA
Permission94=Exportar Impostos Sociais
Permission95=Consultar balanços e resultados
Permission96=Parametrizar repartição
Permission97=Leer linhas de facturas
Permission98=Repartir linhas de facturas
Permission101=Consultar Expedições
Permission102=Criar/Modificar Expedições
Permission104=Confirmar Expedições

View File

@ -582,9 +582,6 @@ Permission92=Creare / Modificare a contribuţiilor sociale şi a TVA-ului
Permission93=Ştergere a contribuţiilor sociale şi a TVA-ului
Permission94=Export contribuţiilor sociale
Permission95=Citeşte rapoarte
Permission96=Setup expediţie
Permission97=Citeşte contabilitate factura de expediţie
Permission98=Expedierii facturii de contabilitate linii
Permission101=Citeşte sendings
Permission102=Creare / Modificare Livrare
Permission104=Validează livrari

View File

@ -582,9 +582,6 @@ Permission92=Создать / изменить социальных отчисл
Permission93=Удалить социального взноса и налога на добавленную стоимость
Permission94=Экспорт социальных взносов
Permission95=Читать сообщения
Permission96=Установка диспетчерского
Permission97=Читать счета бухгалтерского диспетчерского
Permission98=Отправка счета в бухгалтерских линий
Permission101=Читать отправок
Permission102=Создать / изменить отправок
Permission104=Проверка отправок

View File

@ -582,9 +582,6 @@ Permission92=Vytvoriť / upraviť príspevky na sociálne zabezpečenie a dane z
Permission93=Odstránenie sociálne príspevky a dane z pridanej hodnoty
Permission94=Export príspevky na sociálne zabezpečenie
Permission95=Prečítajte si správy
Permission96=Nastavenie zasielania
Permission97=Prečítajte si faktúry účtovníctva dispečing
Permission98=Po odoslaní faktúry účtovné linky
Permission101=Prečítajte si sendings
Permission102=Vytvoriť / upraviť sendings
Permission104=Overiť sendings

View File

@ -582,9 +582,6 @@ Permission92=Kreiranje/spreminjanje socialnih prispevkov in DDV
Permission93=Brisanje socialnih prispevkov in DDV
Permission94=Izvoz socialnih prispevkov
Permission95=Branje poročil
Permission96=Nastavitve odpreme
Permission97=Branje odposlanih računovodskih listin
Permission98=Branje postavk računovodskih listin
Permission101=Branje pošiljk
Permission102=Kreiranje/spreminjanje pošiljk
Permission104=Potrjevanje pošiljk

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Skapa / ändra sociala avgifter och moms
Permission93=Ta bort sociala avgifter och moms
Permission94=Export sociala avgifter
Permission95=Läs rapporter
Permission96=Setup avsändning
Permission97=Läs faktura bokföring expedierar
Permission98=Dispatch fakturornas bokföringsposter
Permission101=Läs sendings
Permission102=Skapa / ändra sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Sosyal katkı payı ve KDV oluştur/düzenle
Permission93=Sosyal katkı payı ve KDV sil
Permission94=Sosyal katkı payı dışaaktar
Permission95=Rapor oku
Permission96=Dağıtım ayarla
Permission97=Fatura kayıtları dağıtımlarını oku
Permission98=Faturaların muhasebesel satırlarını dağıt
Permission101=Gönderilenleri oku
Permission102=Gönderilenleri oluştur/düzenle
Permission104=Gönderilenleri doğrula

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=Create/modify social contributions and vat
Permission93=Delete social contributions and vat
Permission94=Export social contributions
Permission95=Read reports
Permission96=Setup dispatching
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=Read sendings
Permission102=Create/modify sendings
Permission104=Validate sendings

View File

@ -582,9 +582,6 @@ Permission92=建立/修改的社会贡献和增值税
Permission93=删除社会贡献和增值税
Permission94=导出社会贡献
Permission95=阅读报告
Permission96=设置调度
Permission97=Read invoice accountancy dispatching
Permission98=Dispatch invoice accountancy lines
Permission101=读取发货资讯
Permission102=建立/修改发货单
Permission104=确认发货单

View File

@ -582,9 +582,6 @@ Permission92=建立/修改的社會貢獻和增值稅
Permission93=刪除的社會貢獻和增值稅
Permission94=出口社會貢獻
Permission95=閲讀報告
Permission96=安裝調度
Permission97=瞭解會計調度發票
Permission98=調度發票的會計行
Permission101=讀取出貨資訊
Permission102=建立/修改出貨單
Permission104=驗證出貨單