Fix: Formulaire ajout charges n'était plus visible

This commit is contained in:
Laurent Destailleur 2006-08-20 21:22:48 +00:00
parent f5f1c44ab2
commit 52025a0843
3 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,6 @@
<?php <?php
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* $Id$ * $Id$
* $Source$ * $Source$
@ -17,10 +18,10 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/ */
/*! \file htdocs/compta/charges.php /**
\file htdocs/compta/charges.php
\ingroup compta \ingroup compta
\brief Page liste des charges sociales \brief Page liste des charges sociales
\version $Revision$ \version $Revision$
@ -92,5 +93,5 @@ print '</table>';
$db->close(); $db->close();
llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>"); llxFooter('$Date$ - $Revision$');
?> ?>

View File

@ -30,6 +30,7 @@
require("./pre.inc.php"); require("./pre.inc.php");
$user->getrights('compta'); $user->getrights('compta');
$user->getrights('tax');
if (!$user->admin && !$user->rights->tax->charges->lire) if (!$user->admin && !$user->rights->tax->charges->lire)
accessforbidden(); accessforbidden();
@ -127,5 +128,5 @@ print "</table><br>";
$db->close(); $db->close();
llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>"); llxFooter('$Date$ - $Revision$');
?> ?>

View File

@ -1,5 +1,5 @@
<?php <?php
/* 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
@ -17,7 +17,6 @@
* *
* $Id$ * $Id$
* $Source$ * $Source$
*
*/ */
/** /**
@ -329,5 +328,5 @@ if ($_GET["action"] == 'create')
$db->close(); $db->close();
llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>"); llxFooter('$Date$ - $Revision$');
?> ?>